Difference between revisions of "Template:InCity"

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with " <noinclude>This template describes the '''InCity''' state Conditions of the automacro eventMacros.</noinclude> ;InCity :* Description: Checks if the play...")
 
(No difference)

Latest revision as of 20:52, 4 July 2019

This template describes the InCity state Conditions of the automacro eventMacros.
InCity
  • Description: Checks if the player is in a city or not.
Syntax:
InCity <0 | 1>
When value is 0: Only true if map is not a city
When value is 1: Only true if map is a city
Example:
InCity 1
Set variables:
$.InCityLast => Saves the name of the last map that made InCity become true