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.

Difference between revisions of "EndedInEnemyZOC (M2-Scripting)"

From TWC Wiki
Jump to navigationJump to search
m (Removed category "M2TW Scripting"; Quick-adding category "M2TW Scripting Condition" (redirect M2TW Scripting Condition resolved (using HotCat))
(Sample Scripts)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
== Detailed Description ==
 
== Detailed Description ==
  
None currently
+
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 ==
 
== Sample Scripts ==
  
None Currently
+
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 ==
 
== Sample Triggers ==

Latest revision as of 16:43, 9 December 2010

  • 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