Home   Help Search Login Register  

Author Topic: 3 Teams when to 2 are dead i want it to end how do i do this?  (Read 1351 times)

0 Members and 2 Guests are viewing this topic.

Nim_Editor

  • Guest
i have 3 teams west east and resistance say east and west die how do i make it end??

Offline SickSidewinder

  • Members
  • *
  • I hump llamas
    • My New Site
Re:3 Teams when to 2 are dead i want it to end how do i do this?
« Reply #1 on: 12 Sep 2003, 20:01:09 »
should be something along the lines of
!(alive side ____) && !(alive side ____)
i think
the "!" means "not"
u can use that too
[edit]
and unless someone knows a better way, you'd have to do that trigger in all the combos of sides dead and alive
« Last Edit: 12 Sep 2003, 20:02:52 by SickSidewinder9 »
My site
call Marge.
Re: Horror

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:3 Teams when to 2 are dead i want it to end how do i do this?
« Reply #2 on: 12 Sep 2003, 23:03:55 »
check the comref for the exact command but i think the best to use is
count array or count trigger list

create a trigger for each side, lets name them
westplayers
eastplayers

have the trigger areas encompass the entire playing area, set them to repeatedly and anybody

in the condition fields have
(vehicle player in thislist) && (side player==WEST) && alive player
or
(vehicle player in thislist) && (side player==EAST) && alive player

then have a looping script or a script waiting with an @ command for something like the following command

@ (count list westplayers == 0) && (count list eastplayers == 0)

or maybe even an endgame trigger with the following condition line
 (count list westplayers == 0) && (count list eastplayers == 0)

then have these execute your endmission stystem
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123