"Select units in region" with regoin = "circle around the point where the effect happened" could return those units.
Development > AI Development
How to affect units created using effects?
- 5 posts
-
Zolden Author
- Battle.net
- Zolden
- #929 EU
- Join date
- Apr 13, 2011
- Location
- Russian Federation
- Reputation
- 70
- Posts
- 1,072
- Projects
- 4
- Last login
- May 23, 2013
-
TheAlmaity Moderator
- Battle.net
- TheWatcher
- #477 EU
- Join date
- May 30, 2010
- Location
- Croatia
- Reputation
- 103
- Posts
- 2,588
- Projects
- 2
- Last login
- May 23, 2013
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.
- 5 posts

FunBotan AuthorWhat 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.
The problem:
I have no idea how to give orderes to these units cuz i see no function that returns units spawned by an effect.