Class AdvanceQuestObjectiveAction
ECA action that advances a specific quest objective for the initiating character. Typically used in dialogue OnSelect actions or interactable triggers. Server-only execution.
[Serializable]
public class AdvanceQuestObjectiveAction : BaseAction, IAction
- Inheritance
-
AdvanceQuestObjectiveAction
- Implements
- Inherited Members
Fields
Amount
The amount to increment the objective by.
[Tooltip("The amount to increment the objective by.")]
[Min(1)]
public long Amount
Field Value
ObjectiveIndex
Zero-based index of the objective to advance.
[Tooltip("Zero-based index of the objective to advance.")]
public int ObjectiveIndex
Field Value
QuestTemplate
The quest template containing the objective to advance.
[Tooltip("The quest template containing the objective to advance.")]
public QuestTemplate QuestTemplate
Field Value
Methods
Execute(ICharacter, EventData)
Executes the action. Must be implemented by derived classes.
public override void Execute(ICharacter initiator, EventData eventData)
Parameters
initiatorICharacterThe character initiating the action.
eventDataEventDataEvent data for the action.