Difference between revisions of "PercentageUnitCategory (M2-Scripting)"
From TWC Wiki
Jump to navigationJump to searchm (Quick-adding category "M2TW Scripting Condition" (redirect M2TW Scripting Condition resolved (using HotCat)) |
|||
Line 27: | Line 27: | ||
== See Also == | == See Also == | ||
*[[Conditions (M2-Scripting)]] - For links to other condition pages and information on parameters. | *[[Conditions (M2-Scripting)]] - For links to other condition pages and information on parameters. | ||
+ | |||
+ | [[Category:M2TW Scripting Condition]] |
Latest revision as of 15:42, 11 April 2009
- Type: Condition
- Trigger Requirements: character_record
- Parameters: unit category (infantry, cavalry, siege, non_combatant, ship, handler), logic token, test value
- CA Example: PercentageUnitCategory handler > 35.8
- CA Description: Test to see what percentage of the army were of a particular category
- Battle/Strat: Either
- Class: GENERALS_ARMY_PERCENTAGE_OF_UNIT_CATEGORY_TEST
Detailed Description
None currently
Sample Scripts
None Currently
Sample Triggers
None Currently
See Also
- Conditions (M2-Scripting) - For links to other condition pages and information on parameters.