If I set a queen to a unit variable and then burrow that unit, is it no longer that variable. I'm asking because it seems that in the data editor that burrowed units are separate from the normal unit.
It's a different unit. And they are separate. You can make a supply depot to burrow to the burrowed infestor :D Sooo, if you want to get a variable, you could: Event:
Unit - Any Unit uses Burrow at Generic1 - Any stage (Ignore shared abilities) Local var:
x - unit Conditions:
... Actions:
Wait 0.5 seconds (in case it morphs for some time)
Variable - Set x = (Closest unit to (Position of (Triggering ability target unit)) in (Any units in (Entire map) owned by player Any Player matching No Unit Filter, with at most Any Amount))
You can use any options to make the searching more optimised - like unit type filter.
If I set a queen to a unit variable and then burrow that unit, is it no longer that variable. I'm asking because it seems that in the data editor that burrowed units are separate from the normal unit.
burrow actually changes the unit to be a unit that is underground.....
Its basically a morph... From what i understand .... but the unit variable should track it .... maybe it doesnt....
@SouLCarveRR: Go
I guess I'll just have to try it. Wish me luck.
It's a different unit. And they are separate. You can make a supply depot to burrow to the burrowed infestor :D Sooo, if you want to get a variable, you could:
Event:
Unit - Any Unit uses Burrow at Generic1 - Any stage (Ignore shared abilities)
Local var:
x - unit
Conditions:
...
Actions:
Wait 0.5 seconds (in case it morphs for some time)
Variable - Set x = (Closest unit to (Position of (Triggering ability target unit)) in (Any units in (Entire map) owned by player Any Player matching No Unit Filter, with at most Any Amount))
You can use any options to make the searching more optimised - like unit type filter.