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

Removing Unit Variables

Status
Not open for further replies.
Level 12
Joined
Jan 6, 2009
Messages
848
i would like know what the syntax for removing a unit variable is, as the following syntax will remove the set unit from the game, not just the variable:
JASS:
call RemoveUnit(udg_name_of_unit_variable)

And please don't call me noob, moron etc. as we all have to start somewhere :)
 
Last edited:
Level 19
Joined
Aug 24, 2007
Messages
2,888
You do NOT need to

Edit: You do not need to create variables anyway
Where you did read things like
a = Triggering Unit
Kill a
set a = null
these are total rumors dont have to do with anything about leaks
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
You null the faggy "local" unit variables not global ones
and you dont even have to create them

faggots just do things like
  • Set U = (Triggering Unit)
  • Unit - Kill U
  • Custom script: set udg_U = null
which is completly faggot
n00bs think they clear leaks but they are just being so faggy and idiot
 
Level 12
Joined
Jan 6, 2009
Messages
848
Well you're quite the friendly one.

Edit: Also, local variables are a viable option when making a triggered spell MUI:wink:
 
Last edited:
Level 19
Joined
Aug 24, 2007
Messages
2,888
meh Im trying to get myself banned permanently actually so "fags" and stuff for that
check "Things that Leak" in triggers section (sticked)
NVM just nevermind keep going with your n00bish faggy things. why do I even care about fags like you
you fags arent even human anyway coz what makes someone human is ability to make decisions besides instict and you dont have it
just fags with 0 IQ
 
  • Angry
Reactions: Rui
Status
Not open for further replies.
Top