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

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