HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Removing Leaky variable

10-08-2006, 10:34 PM#1
GamesSmash
Is there any custom script i can use to remove a variable named
Temp_Point (Player number of (Owner of (Triggering Unit))

Trigger:
set Temp_Point (Player number of (Owner of (Triggering Unit)) = (position of (triggering unit))
Custom Script: call remove ?????
10-08-2006, 11:13 PM#2
Vexorian
you don't remove variables, you remove the object pointed by the variable

anyways

that's something cute like:

call RemoveLocation(udg_Temp_Point[ GetConvertedPlayerId(GetOwningPlayer( GetTriggerUnit() )) ] )