Difference between revisions of "PercentageUnitCategory (M2-Scripting)"
From TWC Wiki
Jump to navigationJump to search (New page: __TOC__ *'''Type:''' Condition *'''Trigger Requirements:''' character_record *'''Parameters:''' unit category (infantry, ...) |
|||
Line 16: | Line 16: | ||
== Sample Scripts == | == Sample Scripts == | ||
+ | |||
+ | None Currently | ||
+ | |||
+ | |||
+ | == Sample Triggers == | ||
None Currently | None Currently |
Revision as of 12:49, 21 September 2008
- 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.