Quests&Objectives

Fail, abandon, timers

ActionNode
Fail via a fail idFailObjective
Fail one questFailQuest / FailQuestById
AbandonAbandonQuest / AbandonQuestById
Timer remainingGetObjectiveFailTimeRemaining
Fail Objective. This call fails every Active quest in the current phase that uses that Fail Id.

Do not use the bool return to update client UI. On a client, the function returns false after it sends the RPC. Read events and GetQuestsByStatus instead.

On the server, true means the change applied.

Fail and abandon are valid only from Active. The quest then becomes Available. The plugin erases the progress.

Time To Fail ticks on authority only. Owning clients do not tick it.

Fail and abandon on the client

Abandon and fail change Active to Available in one replication update. They do not show as a Failed or Abandoned status on the client.

Replication alone does not fire the client fail and abandon events.

  1. When the widget is shown, refresh the log and tracker from GetQuestsByStatus.
  2. If you must catch abandon at once, refresh on a short timer or when the widget becomes visible.

Authority-side bindings still receive OnQuestFailed and OnQuestAbandoned.