QUOTE(Dante @ Apr 6 2005, 06:18 PM)
really ? how ?
[right][snapback]181555[/snapback][/right]
QUOTE(terrenblade @ Apr 6 2005, 12:45 AM)
What you've currently got is 2 extra triggers, the ones seting swiches.
Becuse the swich is controlled by only once condition, it's a waste of space.
What you want is a trigger more like this
Conditions:
Player 1 controlls atleast 1 unit
Player 2 controlls atleast 1 unit
Countdown timer is 0 (how are you regulating this?)
Swich 'round in progress' is set
Currentplayer brings atleast one unit to 'middle' (asuming the round is won for 'current player')
Actions:
(whatever was there before)
clear 'round in progress'
And then add the action set 'round in progress' when you start the next round, After you set the countdown timer.
What this trigger set will do is.
Check if boath players still controll units (without needing swiches, which can screw thigns up from time to time)
Check the countdown timer
Make shure the round is still in progress
Make shure there's a player in the middle
That gives you three layers of defence against a 'free' round.
Also, I suggest finding some way to make tests, even if you just use a computer player who does nothing. Much faster for all of us.
[right][snapback]181000[/snapback][/right]
As Hemidal said, switches are for saving information - same thing for all types of variables - not for complicating simple procedures.