how would i go about placing a unit only if someone is actually there to control it?
like if there are five players, there would only be five units on the field, one for each player.
how would i go about doing that through the use of triggers and such?
or is it something else that i use?
I am a trigger kinda guy so my response is using triggers:
create a new trigger, name it what ever u want.
then, if each unit is created at a different point, create a If-Then-Else action.
For the If condition, create a 'controller of player' comparison. set the condition to make it so that the player must be a user for the action to occur.
in the Then, place out your actions for your unit creation for player one.
Copy paste the If-Then-Else and change the values to suit the needs of your other players
hope this helps.
Edit: Set the event to launch on map initialisation if u want this to be their starting points. If u want a delayed starting point, put a wait timer before any of the If-Then-Else actions
how would i go about placing a unit only if someone is actually there to control it?
like if there are five players, there would only be five units on the field, one for each player.
how would i go about doing that through the use of triggers and such?
or is it something else that i use?
I am a trigger kinda guy so my response is using triggers:
create a new trigger, name it what ever u want. then, if each unit is created at a different point, create a If-Then-Else action.
For the If condition, create a 'controller of player' comparison. set the condition to make it so that the player must be a user for the action to occur.
in the Then, place out your actions for your unit creation for player one.
Copy paste the If-Then-Else and change the values to suit the needs of your other players
hope this helps.
Edit: Set the event to launch on map initialisation if u want this to be their starting points. If u want a delayed starting point, put a wait timer before any of the If-Then-Else actions
@RageQit: Go
it helped very much =)
problem solved thanks =)