• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

(detecting) Order: Unload

Status
Not open for further replies.
Level 14
Joined
Jul 1, 2008
Messages
1,314
Hi Guys,

i got a problem with the Wc3-transporters, unluckily there is no event like "a unit is unloaded from a transporter".

And thats my problem: When u klick on the unit-icon in the transporter, there is no Order-String, and there is no casting Ability, so
How can i know, when a player klicks the unit-Icon?

I really need your help, because i tried everything i could think of...

Thx in advance :D

Greets
 
Level 14
Joined
Jul 1, 2008
Messages
1,314
Y there is a pick up order string.

I noticed that i could use a periodic Question, if the Unit is in the Transporter, when it entered. The String is "load", the Transporter gets it, when it has to load up the unit that klicked on it :)

Thanks for answers^^

So tehre is any possibility to find out, if a player klicked at the icon?

Edit: A member in another forum solved my problem.

The Event "A unit gets an order without any targets" in combination with "UnitXYZ Equal to (Ordered Unit)" is the solution. Then you only have to find out, if it was the right order.

Thanks anyways to all

Greets
 
Last edited:
Status
Not open for further replies.
Top