• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Leak checks needed

Status
Not open for further replies.

Deleted member 177737

D

Deleted member 177737

Hey,

I'm making an RPG systems pack that I'm going to upload here (if it's good enough.) I just wanted to get someone who knows what leaks and how to fix the leaks to have a look at what I've finished so-far.

The map is attached.
 

Attachments

Rather than having someone do it for you, you should do it yourself. You get practise and learn how not to create leaks.

https://www.hiveworkshop.com/forums/triggers-scripts-269/things-leak-35124/

A few notes:

*Remove all Do nothing actions
*This leaks two points, the original and the offset:
  • Unit - Order MovingUnit[(Integer A)] to Move To ((Position of MovingUnit[(Integer A)]) offset by ((Current movement speed of MovingUnit[(Integer A)])...
*This line doesn't make much sense
  • Set Attacker[(Integer A)] = (Position of No unit)
 
Status
Not open for further replies.
Back
Top