• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

[General] Selection of unloading

Status
Not open for further replies.
Level 1
Joined
Jan 15, 2022
Messages
2
Hi people, I'm trying to autoselect the ship that the unit loads into, and to autoselect the unit that unloads. So far I have this, and works for the first part:
Event: unit is loaded into a transport
Actions: add (transporting unit) to selection for (triggering player)

My problem is autoselect the unit that is unloaded. I tried putting If/then/else like "if ((ability being cast) equals to Unload (sea transport) then do (selection - select (loading unit) for (triggering player)) else (do nothing) --- but that won't work.

Can someone pls help? (i'm a noob in triggering)
 
Level 25
Joined
Mar 29, 2020
Messages
1,465
I'm trying to autoselect the ship that the unit loads into
the game does this automatically
and to autoselect the unit that unloads
this is tricky. AFAIK there is no simple way to detect this. Bribe created a library that adds an easy way to do this though, check it out:

 
Level 1
Joined
Jan 15, 2022
Messages
2
Great, thanks
the game does this automatically

this is tricky. AFAIK there is no simple way to detect this. Bribe created a library that adds an easy way to do this though, check it out:

thank you!
 
Status
Not open for further replies.
Top