• 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.

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