What i need to do:
An effect spawns a group of units and makes their owner player 15, or Enemy (cuz i can't specify a player in the effect itself, u know). Then i need these units to unite into a wave and go somewhere.
I have no idea how to give orderes to these units cuz i see no function that returns units spawned by an effect.
"Select units in region" with regoin = "circle around the point where the effect happened" could return those units.
But in this region i also have other units...
There is a field called "Spawn Effect" or something like that in the Create Unit effect, put a dummy effect in there, have a trigger use that effect as an event and then just order (Triggering Effect Unit (Target)) to do whatever you want. If you need them to be in an actual unit group variable, just add them into that variable and run another trigger 0.0 seconds afterwards that does whatever you need to the unit group variable.
Projects: Starmon - RuneCraft
But will try, thanks.
You must login to post a comment. Don't have an account? Register to get one!