• 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] Help with some leak removals

Status
Not open for further replies.
Level 5
Joined
Oct 3, 2008
Messages
104
hi guys im dumbstruck on how to remove these leaks
angle[playernumber(owner of picked unit)]
angle[playernumber(owner of triggering unit)]
angle[loop integer A]

also, does changing the value of a variable leak with the previous value it had?

help is appreciated, thxx
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
well that depends most likely, you better convert the action to jass after setting up the variable and copy the function into the brackets in the cscript, like:
  • Set unit = (Triggering Unit)
in gui will look like
JASS:
set unit = udg_GetTriggerUnit()
which you'd have to copy into that custom script
 
Status
Not open for further replies.
Top