• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

scripts and leaks

Status
Not open for further replies.
Level 5
Joined
Jun 17, 2006
Messages
114
i have this script here i'm not so sure of. i want to prevent a leak, and i'm wondering if calling this script will destroy point1.

Set point1 = (Random point in random mobs 3 <gen>)
Unit - Create 1 Black Goblin for Player 12 (Brown) at point1 facing Default building facing degrees
Custom script: Call RemoveLocation(udg_point1)

also, do i need to do this to prevent a memory leak from point1? thanks.
 
Status
Not open for further replies.
Top