- Joined
- May 10, 2014
- Messages
- 41
Hello!
I make a spell, that locust unit cast on another unit.
When target unit dies, caster must die too.
But it just don't die.
Store caster and target unit can't solve the problem, because I need an unknown number of variables if I go that way.
When target unit dies, caster issue order 'stop' in game, as I know.
So I try to catch it.
1 Unit issue order with no target
2 If unit type of ordered unit equal to "type of caster"
3 If issued order equal to (Order(stop))
4 Kill ordered unit
That trigger don't give any results.
What I do wrong?
Or there is another way to solve that problem?
Thanks everybody for any information!
I make a spell, that locust unit cast on another unit.
When target unit dies, caster must die too.
But it just don't die.
Store caster and target unit can't solve the problem, because I need an unknown number of variables if I go that way.
When target unit dies, caster issue order 'stop' in game, as I know.
So I try to catch it.
1 Unit issue order with no target
2 If unit type of ordered unit equal to "type of caster"
3 If issued order equal to (Order(stop))
4 Kill ordered unit
That trigger don't give any results.
What I do wrong?
Or there is another way to solve that problem?
Thanks everybody for any information!
