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

How can I fixed a move region leak

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,255
You remove it by destroying the location object that you create (the native to use is RemoveLocation(location) if I am not mistaken).

Alternativly you could switch to using X/Y cordinates to move it in which case no location object is created in the first place (can not leak if it never is created).
 
Status
Not open for further replies.
Top