So my question is this: Is it possible to script so that at the press of a switch all the Axis or the Allies (depending on which team DIDN'T press their switch) keel over and die?
Thanks in advance for any help given.
Moderator: Moderators
Code: Select all
for (self.i = 1; self.i <= $player.size; self.i++)
{
if ( isalive($player[self.i]) && ($player[self.i].health > 0) && $player[self.i].dmteam == axis)
{
player[self.i].health = -1
}
}