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

Leak problem?

Status
Not open for further replies.
Level 15
Joined
Jan 27, 2007
Messages
948
Hello everyone, I was editting my map and I saw a note I left myself some time ago, but I cannot remember why. Probably should pay attention and ask; why is this leaking? in case I was right haha

  • Rune to Stone
    • Events
      • Unit - A unit Finishes an upgrade
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Meeting Stone
    • Actions
      • -------- THIS LEAKS --------
      • Unit - Create 3 Gatherer (first) for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Random angle) degrees
 
Level 15
Joined
Jan 27, 2007
Messages
948
Great tutorial! thanks for enlightening me. So if i understood correctly, i just fixed it; right?

  • Rune to Prehistory
    • Events
      • Unit - A unit Finishes an upgrade
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Meeting Stone
    • Actions
      • Set location = (Position of (Triggering unit))
      • Unit - Create 3 Gatherer (first) for (Owner of (Triggering unit)) at location facing (Random angle) degrees
      • Custom script: call RemoveLocation(udg_location)
 
Status
Not open for further replies.
Top