Hey I was making a map and it is for multiplayer so I have a trigger where it gives units to all 5 human players but if there is not 5 human players it gives the units anyway and then the units go hostile.
Is there a way to make the units go neutral or not be given with out a human player present.
If you need to see a copy of the map I can send it.
None.
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
Hey I was making a map and it is for multiplayer so I have a trigger where it gives units to all 5 human players but if there is not 5 human players it gives the units anyway and then the units go hostile.
Is there a way to make the units go neutral or not be given with out a human player present.
If you need to see a copy of the map I can send it.
You probably have a trigger like
Give 1 Dragoon to P1
Give 1 Marine to P2
and so forth.
That method creates units for neutral hostile if the player from the trigger is not present.
Solution 1:You can avoid it by specifying the trigger owner and use current player. It would look like this:
P1
Condition:
<whatever>
Actions:
Give 1 Dragoon to Current Player
P2
Condition:
<whatever>
Actions:
Give 1 Marine to Current Player
Solution 2:When you want to give those units for "ghost playes" (or units from leavers) to the remaining players
(or optionally remove them) do a trigger like this:
Force of Human Players
Condition:
'Neutral players' brings at least 1 [men] to anywhere
Actions:
Give 1 [men] owned by 'neutral player's at anywhere to Current Player
OR Remove all [men] for 'neutral players'preserve trigger
If you chose the give action it will favor the players with low numbers. At the game start P1 will get the first unit, P2 the second and so forth until no ghost player units are present anymore.
But when it comes to leavers which only had 1 unit always P1 will get the units if they dont leave the exact same time.
This CAN be avoided if needed so that the units of leavers will be distributed evenly. But then it would be good to know a little more about the map.
Thanks man I appreciate it I will try these out!
None.