Hello, I was reading about leaks and I didn't quite fully grasp when I should null a Unit variable and other Object variables.
Here are some examples of what I'm currently doing:
Unit - A unit Starts the effect of an ability
The following code returns true for r == 0.0 and r == null. Can anyone tell me why? I would expect that only r==0.0 would return true.
local unit t = GetTriggerUnit()
local real r = 0.0
//Save 0.0 value to hashtable
call SaveRealBJ(0.0, GetHandleIdBJ(t), 1, udg_hashTable)
🔨 Hive's 3D Viewer has been updated! 🔨 It now supports MDX1100 which should fix a lot of issues when viewing HD models in our 3D Viewer. We encourage you to check it out for yourself and report any issues you find in the Site Discussion board.