I need a trigger or some triggers that make it so when a computer player is killed, a new unit will appear there. However, there are many computer player units, so I can't make locations follow the units. Can anyone help me?
Easiest way is to make a location for every computer player, and do the same trigger over for each computer.
Thats not what hes saying. 1 computer multiple units not multiple computers 1 unit. Im not sure this can be done. It can be done but with something i dont think your ready for yet.
Could you please clarify exactly what you mean, as you were a bit vauge in your first post. If possible please give us an example of the situation in which you need the trigger to fire ect... more information can never hurt, and it often leads to a more complete solution.
Well, could you tell us what this trigger is going to be used for? We might be able to come up with a solution using indirect triggers.
The way I read it, the question is to come up with a system that will keep track of the locations of multiple units (the same unit type, same player) simultaneously. When a unit dies, he wants to create a new unit on the same spot where it died.
If the maximum number of units isn't too large, you can make very small (pixel) locations, smaller than the width of a unit, for each unit. Then at the beginning, cycle through each unit and center one location on each one; hypertriggered centering on the units should allow each location to stay on only its own unit. If any unit dies, there will be no units at its location, so you can respawn it.
There is no simple solution, and you need to be reasonably experienced to understand what I just said above; but by all means, ask for clarification if you need it.
Ok, sorry. I didn't make my post very clear.
This is going to be used for a zombie survival map, but some civilians are left alive (the civilians are one computer player) I need a trigger for civilians that are killed to turn into zombies. The only problem is there are many civilians and I dont know how to make multiple locations follow multiple different units that are all civilians. Thank you for posting.