Difference between revisions of "inMap"
Jump to navigation
Jump to search
(Created page with '; inMap [<map names>] : If this option is set, the block will only be used if you are inside one of the specified comma-separated list of maps. Example…') |
|||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | ; inMap | + | == [[:Category:Self Condition|Self Condition]] from [[:Category:config.txt|config.txt]]: == |
+ | ; inMap <[[References#Map_Names|map names]]> | ||
: If this option is set, the block will only be used if you are inside one of the specified comma-separated list of maps. | : If this option is set, the block will only be used if you are inside one of the specified comma-separated list of maps. | ||
− | + | ; notInMap <[[References#Map_Names|map names]]> | |
− | attackSkillSlot | + | : If this option is set, the block will never be used if you are inside one of the specified comma-separated list of maps. |
− | monsters Skeleton | + | : Examples: |
− | inMap pay_dun00 | + | It will use Bash on monster Skeleton only if you are in pay_dun00: |
+ | [[attackSkillSlot]] [[References#Skill_Names|SM_BASH]] { | ||
+ | [[monsters]] [[References#Monster_Names|Skeleton]] | ||
+ | '''inMap''' pay_dun00 | ||
} | } | ||
− | + | Use Heal when hp is bellow 10% and we are not in lhz_dun03: | |
+ | [[useSelf_skill]] [[References#Skill_Names|AL_HEAL]] { | ||
+ | [[hp]] < 10% | ||
+ | '''notInMap''' lhz_dun03 | ||
+ | } | ||
+ | |||
+ | == [[EventMacro#State|State Conditions]] of the automacro eventMacros: == | ||
+ | {{Template:InMap}} | ||
+ | |||
+ | [[Category:Self Condition]] | ||
+ | [[Category:EventMacro_Automacros]] | ||
+ | [[Category:EventMacro_Conditions_State]] |
Latest revision as of 01:43, 27 April 2021
Self Condition from config.txt:
- inMap <map names>
- If this option is set, the block will only be used if you are inside one of the specified comma-separated list of maps.
- notInMap <map names>
- If this option is set, the block will never be used if you are inside one of the specified comma-separated list of maps.
- Examples:
It will use Bash on monster Skeleton only if you are in pay_dun00:
attackSkillSlot SM_BASH { monsters Skeleton inMap pay_dun00 }
Use Heal when hp is bellow 10% and we are not in lhz_dun03:
useSelf_skill AL_HEAL { hp < 10% notInMap lhz_dun03 }
State Conditions of the automacro eventMacros:
- InMap
-
- Description: Checks if the current map match one of the given maps.
- Syntax:
InMap <comma separated list of maps>
- Map can be a variable.
- Example:
InMap prontra, geffen, gef_fild10
- Set variables:
$.InMapLast => Saves the last map that made InMap become true