EndedInEnemyZOC (M2-Scripting)
From TWC Wiki
Jump to navigationJump to search- Type: Condition
- Trigger Requirements: character_record
- Parameters: None
- CA Example: EndedInEnemyZOC
- CA Description: Is the character in an enemy zone of control?
- Battle/Strat: Either
- Class: ENDED_IN_ENEMY_ZOC
Detailed Description
A marching army that enters enemy zone of control will come to a halt even if it has movement points left. This condition can be used to check if the reason the army stopped was due to this.
Enemy Zone of Control is defined as tiles immediately adjacent to enemy's position on the map.
Sample Scripts
This condition would most likely be used for traits/ancillaries. For example:
Trait LookingForTrouble Characters family Level Troublemaker Description Troublemaker_desc EffectsDescription Troublemaker_effects_desc Threshold 10 Effect Morale 1 Trigger LookingForTroubleTrigger WhenToTest CharacterTurnEnd Condition EndedInEnemyZOC and RemainingMPPercentage > 5 Affects LookingForTrouble 1 Chance 100
Sample Triggers
None Currently
See Also
- Conditions (M2-Scripting) - For links to other condition pages and information on parameters.