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

Do unit variables need to be removed?

Status
Not open for further replies.
Level 8
Joined
Aug 1, 2008
Messages
420
Ive been reading a few leak tutorials, and i havnt seem them removing unit variables. say if i have
  • Set Caster = (Casting unit)
would i need to remove that?
 
Well, it's not that important, but in the case of MUI rendering, i suggest you did; Set Caster = No unit. It's not a leak exactly, it's just an unwanted bit of extra memory, but no, it's not the same with a Point variable for example. Also, know that "Casting unit" is recognised slower than the "Triggering unit" by the machine. ;)
 
Status
Not open for further replies.
Top