- Joined
- May 26, 2012
- Messages
- 76
Hello!
I have a couple of quesitons regarding triggers:
1)Is it possible to assign an item which will be dropped on death to a particular unit reference via script?
If not, what is the most efficient way to do it? I would like to avoid creating it's own trigger for each unit(all of them are dynamically created)
It's located here in editor:
2) In Transmission from unit is it possible to display return unit name without creating additional string variable, storing the name and then using it in the transmission function? I can't find anything that looks like a "transmitting unit."
3) Also - it is possible to return an array index for particular reference without using Jass?
What I want to do:
Array is
I have a couple of quesitons regarding triggers:
1)Is it possible to assign an item which will be dropped on death to a particular unit reference via script?
If not, what is the most efficient way to do it? I would like to avoid creating it's own trigger for each unit(all of them are dynamically created)
It's located here in editor:
2) In Transmission from unit is it possible to display return unit name without creating additional string variable, storing the name and then using it in the transmission function? I can't find anything that looks like a "transmitting unit."
3) Also - it is possible to return an array index for particular reference without using Jass?
What I want to do:
Array is
I know UnitReference and I want to return "0" as integer.0::UnitReference