Difference between revisions of "AgentType (M2-Scripting)"
From TWC Wiki
Jump to navigationJump to search (New page: __TOC__ *'''Type:''' Condition *'''Trigger Requirements:''' character_record *'''Parameters:''' character type (spy, assa...) |
m (Removed category "M2TW Scripting"; Quick-adding category "M2TW Scripting Condition" (redirect M2TW Scripting Condition resolved (using HotCat)) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
*'''Parameters:''' character type (spy, assassin, diplomat, admiral, general, named character, family) | *'''Parameters:''' character type (spy, assassin, diplomat, admiral, general, named character, family) | ||
*'''CA Example:''' AgentType = diplomat | *'''CA Example:''' AgentType = diplomat | ||
− | *'''CA Description:''' Test to see if a character is of a particular type (spy, admiral, named | + | *'''CA Description:''' Test to see if a character is of a particular type (spy, admiral, named character &c.) |
− | |||
− | character &c.) | ||
*'''Battle/Strat:''' Strat | *'''Battle/Strat:''' Strat | ||
*'''Class:''' CHARACTER_TYPE_TEST | *'''Class:''' CHARACTER_TYPE_TEST | ||
Line 29: | 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:06, 11 April 2009
- Type: Condition
- Trigger Requirements: character_record
- Parameters: character type (spy, assassin, diplomat, admiral, general, named character, family)
- CA Example: AgentType = diplomat
- CA Description: Test to see if a character is of a particular type (spy, admiral, named character &c.)
- Battle/Strat: Strat
- Class: CHARACTER_TYPE_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.