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

[JASS] Leaking point problem

Status
Not open for further replies.
Level 7
Joined
Feb 25, 2007
Messages
286
I'm making a blink strike where the person blinks and goes back..I got that part to work but a kid told me if you dont have a jass trigger saying something about removing the point then theres a leak..I want to try and sumit the spells but I cant if theres a leak..Whats the jass trigger for removing a point? Thank you!
 
Level 20
Joined
Apr 22, 2007
Messages
1,960
It's a function:

JASS:
call RemoveLocation(YourLocation)

Replace YourLocation with the location (point with the GUI) variable that you want to remove. If it's a global variable, you have to add the udg_ prefix. Example: You have a global variable called TempPoint, and you want to remove it:

JASS:
call RemoveLocation(udg_TempPoint)

Hope that helps.
 
Status
Not open for further replies.
Top