• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

A Unit is Unloaded from a Transport Event?

Status
Not open for further replies.
Level 2
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.
 
Level 2
Joined
Jun 9, 2006
Messages
18
Problem with that is you can unload units by using the unload ability the ship has, which is what it counts as the unload order, or you can unload units by clicking on their icons, which ****s it up.
 
Last edited:
Level 2
Joined
Jun 9, 2006
Messages
18
maby its beacuase the aura still stays on the admiral even if its removed, thats also how you make more auras on a single spot, adds them and then remove. could it be that he still has his aura on, and the event launchs cuz he got it, you just cant see animation and icon?
I don't really understand what you're trying to say, but what I'm trying to do is give the ship he's in the aura ability when he loads in it. I can do that but the problem was taking away the ability when he left the ship.

I think I've figured it out now though. The unloading units one by one is an order with target while the unload all is an ability. I'll just need 2 unload triggers.

Thanks for the help.
 
Status
Not open for further replies.
Top