The condition you're looking for is entities. You cas use the feilds to narrow what entities the condition looks for. The easiest way to do what you're talking about is to tag all the members of the squad and choose the tag in the "entities" command.
Next you need to choose a state. In this case I'm pretty sure you're looking for dead. Set the "count" option to the equals sign and the "value" to the number of men in your squad. Now, when all the men are dead, the condition will be met and the trigger will activate.
If you want this replacement squad to be replaced in turn if they die too, you'll need to use a pair of "entity_state" commands in the trigger, one to remove the tag from the dead squad and the second to give that tag to this new squad. Then add a "trigger" command so that the trigger will turn it'self off after it activates, allowing it to be activated again after the new squad dies.
Hope that helps, just let me know if you have any other questions or need clarification on something.
Last edited by Manic_Mechanic; 10-31-2009 at 12:10 AM.
Reason: forgot a detail
|