Difference between revisions of "MapLoaded"

From OpenKore Wiki
Jump to: navigation, search
m (add setVariables on MapLoaded, which i forgot)
 
Line 1: Line 1:
Is checked everytime a map change event occur (teleport, map changes), is true if the current map match one of the given ones.
+
{{Template:MapLoaded}}
  
: Syntax:
+
[[Category:EventMacro_Automacros]]
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
+
 
[[Category:EventMacro_Conditions_Event]]
 
[[Category:EventMacro_Conditions_Event]]

Latest revision as of 06:08, 5 July 2019

MapLoaded
  • Description: 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