- Joined
- Jun 9, 2006
- Messages
- 18
Is there any easy way to do this? There's an "Unit is Loaded Into a Transport" event, but I haven't seen an unloaded one.
What I'm trying to do is have it so when an "Admiral" unit type is loaded into a transport ship, he gives it an aura ability. That's working fine, problem is that I can't seem to get the ability to be taken away from the transport when he unloads.
I had a "Every 1 Sec of Game Time" Event with Pick Every Unit in Unit Type Transport and if AdmiralLoaded=1 (made it =1 when admiral is loaded in) and "(Random unit from (Units of Type Admiral)) is loaded into (Picked Unit)) equal to false" conditions, but that didn't work so well when there was more than one Admiral on the map.
I haven't used the WC3 coding or scripting or whatever yet, but I'm sure I could figure it out.
What I'm trying to do is have it so when an "Admiral" unit type is loaded into a transport ship, he gives it an aura ability. That's working fine, problem is that I can't seem to get the ability to be taken away from the transport when he unloads.
I had a "Every 1 Sec of Game Time" Event with Pick Every Unit in Unit Type Transport and if AdmiralLoaded=1 (made it =1 when admiral is loaded in) and "(Random unit from (Units of Type Admiral)) is loaded into (Picked Unit)) equal to false" conditions, but that didn't work so well when there was more than one Admiral on the map.
I haven't used the WC3 coding or scripting or whatever yet, but I'm sure I could figure it out.