Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.
EvalUnqUnit
From AGEWiki
(Difference between revisions)
m |
(clarify parameters) |
||
Line 9: | Line 9: | ||
| param2 = FixValue | | param2 = FixValue | ||
| param2desc = String | | param2desc = String | ||
- | :Fixed = only TRUE if unit is fixed | + | :'''Fixed''' = only TRUE if unit is fixed |
- | : | + | :'''0''' ''(the numeral 0)'' = only TRUE if the unit is unfixed |
| param3 = NOT | | param3 = NOT | ||
| param3desc = String ['NOT']; logical NOT | | param3desc = String ['NOT']; logical NOT | ||
+ | :Applies only to reverse the test for presence of a Unit. ''Does not reverse the '''FixValue''' parameter'' | ||
}} | }} |
Latest revision as of 14:35, 1 December 2010
EvalUnqUnit | |||
Syntax EvalUnqUnit = Name; [FixValue]; [NOT] Description Tests if a given unit is present in the game and if it is fixed (locked in place). NOT reverses the result. Example EvalUnqUnit = Stonewall Bde;NOT This condition will be considered fulfilled if the unit identified as "Stonewall Bde" is not in the game.
|
Parameters
String; Name of the unit as defined in the game Setup or in an Event.
String
String ['NOT']; logical NOT
|