YaQuestAPI¶
YaQuestAPI
is a class for managing quests.Functions¶
YaQuestListener YaQuestAPI.StateListener(YaEntity entity)
A listener to events about the quest for the specified entity
entity
The entity that you want to listen to
YaCharacterQuest YaQuestAPI.CharacterQuest(YaEntity character)
Returns all quests of the character.
YaCharacterQuestByRequester YaQuestAPI.CharacterQuestByRequester(YaEntity character, YaEntity requester)
Associates the character and the requester.
YaQuestConfig YaQuestAPI.GetQuestConfig(number questID)
Gets quest configuration using quest ID.
questID
The unique identifier of the quest
Fired when any quest is finished.
callback
A callback with the character who takes the quest and quest information