MapLoaded: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Add EventMacro event condition: MapLoaded)
 
m (add setVariables on MapLoaded, which i forgot)
Line 8: Line 8:
: Example:
: Example:
  MapLoaded prontera, geffen, gef_fild10
  MapLoaded prontera, geffen, gef_fild10
: Set variables:
$.MapLoadedLast => Saves the last map that made MapLoaded become true
[[Category:EventMacro_Conditions_Event]]
[[Category:EventMacro_Conditions_Event]]

Revision as of 15:03, 4 July 2019

Is checked everytime a map change event occur (teleport, map changes), is true if the current map match one of the given ones.

Syntax:
MapLoaded <comma separated list of maps>
Map can be a variable.
Example:
MapLoaded prontera, geffen, gef_fild10
Set variables:
$.MapLoadedLast => Saves the last map that made MapLoaded become true