QuestOnTime: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with "{{Template:QuestOnTime}} Category:EventMacro_Automacros Category:EventMacro_Conditions_State")
(No difference)

Revision as of 21:15, 4 July 2019

QuestOnTime
  • Description: Checks if the player has one of the given quests active, and this quest has a timer that hasn't ended yet, uses quest ID (use command 'quest list' to see ID).
Syntax:
QuestOnTime <comma separated list of quests ID>
Quest ID can be a variable
Example:
QuestOnTime 7121, 7122
Set variables:
$.QuestOnTimeLastID => Saves the ID of the last quest that made QuestOnTime become true
$.QuestOnTimeLastListIndex => Saves the list index in condition of the last quest that made QuestOnTime become true