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

[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

  • RPG Test.w3x
    53.9 KB · Views: 96
Level 37
Joined
Mar 6, 2006
Messages
9,243
Rather than having someone do it for you, you should do it yourself. You get practise and learn how not to create leaks.

http://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.
Top