HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Will "set no region" make a problem?

06-05-2006, 04:19 PM#1
Anopob
So I'm wondering if, instead of using "Custom Script -> RemoveLocation_YourVariableName (or whatever you're suppose to type in)", you use "Set (Variable Region) = No Region". Will this cause a problem?
06-05-2006, 04:20 PM#2
blu_da_noob
Setting a variable to null (nothing) won't destroy the object it is referencing (pointing to). So yes, it will still leak (if it is dynamically created things which should be destroyed).
06-05-2006, 04:45 PM#3
Vexorian
also regions and locations are different things
06-05-2006, 07:44 PM#4
Anopob
Yeah, my bad, I meant that custom script that removed "set variable = " action. Thanks for the answers.