Class SetQuestAction

java.lang.Object
games.stendhal.server.entity.npc.action.SetQuestAction
All Implemented Interfaces:
ChatAction, PostTransitionAction

@Dev(category=QUEST_SLOT, label="State") public class SetQuestAction extends Object implements ChatAction
Sets the current state of a quest.
  • Constructor Details

    • SetQuestAction

      public SetQuestAction(String questname, String state)
      Creates a new SetQuestAction.
      Parameters:
      questname - name of quest-slot to change
      state - new value
    • SetQuestAction

      @Dev public SetQuestAction(String questname, int index, String state)
      Creates a new SetQuestAction.
      Parameters:
      questname - name of quest-slot to change
      index - index of sub state
      state - new value
  • Method Details