[Trigger] Clearing leaks from array units

Status
Not open for further replies.
Level 31
Joined
Jul 23, 2009
Messages
1,032
I know that if I have set a unit as say "Temp_Unit" in a GUI variable I can clear it with

  • Custom script: set (udg_Temp_Unit) = null
But what if the variable "Temp_Unit" is an array and let's say I want to to clear a specific "Temp_Unit" from that array?

I tried things like

  • Custom script: set (udg_Temp_Unit(1)) = null
  • Custom script: set (udg_Temp_Unit[1]) = null
 
Status
Not open for further replies.
Back
Top