• 🏆 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!

Stop

Status
Not open for further replies.
Level 14
Joined
Feb 7, 2020
Messages
386
I'm not sure how you have your units set up but you could try something like this:

  • Stop Transport
    • Events
      • Unit - A unit owned by Player 1 (Red) Is issued an order targeting a point
    • Conditions
      • (Triggering unit) Equal to yourTransportVar [unit comparison]
      • (yourHeroVar is loaded into yourTransportVar.) Equal to False [boolean comparison]
    • Actions
      • Unit - Order (Triggering unit) to Stop.
 
Level 6
Joined
Oct 25, 2018
Messages
108

Attachments

  • 2.png
    2.png
    1.9 MB · Views: 45
  • 1.png
    1.png
    70.9 KB · Views: 42
  • 3.png
    3.png
    1.6 MB · Views: 42

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,516
Just pause the truck at map start (or after you create it), and unpause it when a unit is loaded into it. Then pause it again when a unit is unloaded from it.

Planetary's method should work as well but I believe you need to do it like this:
  • Pause triggering unit
  • Order triggering unit to Stop
  • Unpause triggering unit
 
Status
Not open for further replies.
Top