Its a td and i have a ready system, there is no wave timer.
ok, so, there are 4 players and each of which have a ready unit that they move to a beacon to set their own ready status. When a player does this, it adds +1 to the "Players Ready" variable. When 3 out of 4 players ready up, it starts a wave.
Now, is there a condition that checks "Active NUMBER of players == value"? I can only find "active players == variable".
I want it so that when any players leaves (active number of players is now 3) one trigger is turned off, and another, on. That, ultimately, is my goal. Is there ANY way of doing this without having to re-write all my spawn triggers?
I just thought about using a global variable to have it set to 4 initially. When player x leaves, -1 to that variable... don't know what to do to modify the 3/4 players ready to 2/3 then 2/2 then 1/1 players ready..
any suggestions?
Edit: may have solved this.. sorry to waste space..
Have an if then else stating if variable is <= 3, turn off trig, turn on other trig.
if variable is <= 2, turn off trig, turn on other trig.
etc etc... i'll try it out, any input is still much appreciated
Ok i am so frustrated with my map right now! lol
Its a td and i have a ready system, there is no wave timer.
ok, so, there are 4 players and each of which have a ready unit that they move to a beacon to set their own ready status. When a player does this, it adds +1 to the "Players Ready" variable. When 3 out of 4 players ready up, it starts a wave.
Now, is there a condition that checks "Active NUMBER of players == value"? I can only find "active players == variable".
I want it so that when any players leaves (active number of players is now 3) one trigger is turned off, and another, on. That, ultimately, is my goal. Is there ANY way of doing this without having to re-write all my spawn triggers?
@copperfront: Go
I just thought about using a global variable to have it set to 4 initially. When player x leaves, -1 to that variable... don't know what to do to modify the 3/4 players ready to 2/3 then 2/2 then 1/1 players ready..
any suggestions?
Edit: may have solved this.. sorry to waste space..
Have an if then else stating if variable is <= 3, turn off trig, turn on other trig.
if variable is <= 2, turn off trig, turn on other trig.
etc etc... i'll try it out, any input is still much appreciated