When I have a trigger that fires when a unit is created, how do I reference the unit that the behavior that created the unit is on? For example, spawner has the Behavior "spawn zerglings" and it spawns a zergling, so my trigger fires. How do I reference my spawner?
Edit: I'm going to sound like a moron, but how do I fire a dummy ability when a behavior ticks? Also will this work if varying number of these spawners can be created?
When I have a trigger that fires when a unit is created, how do I reference the unit that the behavior that created the unit is on? For example, spawner has the Behavior "spawn zerglings" and it spawns a zergling, so my trigger fires. How do I reference my spawner?
fire a dummy ability whenever you spawn a zergling and catch the ability with an event
Thank you, I'll go try that.
P.S. very clever poem in your sig.
Edit: I'm going to sound like a moron, but how do I fire a dummy ability when a behavior ticks? Also will this work if varying number of these spawners can be created?
there is an issue order effect. you should be able to order the dummy ability
Thank you very much sir!