The if_damcon_members mission scripting condition tests the count of team members in a specific damcon team on a certain ship against a condition.
Attribute |
Valid Values |
Optional? |
Description |
team_index |
0, 1, or 2 |
|
The damcon team number to test. |
player_slot |
0-7 (ship_name does not function properly as of 2..7x)
|
No |
The slot of the ship to test. |
comparator |
=, !=, <, >, <=, >=, EQUALS, NOT, GREATER, LESS, GREATER_EQUAL, LESS_EQUAL |
|
|
value |
signed floating point value |
|
|
Example:
<if_damcon_members player_slot="1" team_index="1" comparator="LESS" value="4" />
NOTE:
As of Artemis 2.7.x, using either ship_name or leaving player_slot out will always return a false positive.