Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

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

YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.