• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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