HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Important Question, Removing Global Vars

10-19-2006, 08:57 AM#1
Fr0zenLord
I need to do this

call RemoveLocation, a location, but! its not set in the same trigger, does that matter?

if not, then how do i "call" RemoveLocation(udg_BRectLocCaster[PlayerNumberOf Owner Of Entering Unit]?)

I've tried call RemoveLocation(udg_BRectLocCaster[GetOwningPlayer(GetEnterUnit())]) and GetConvertedPlayerId sort of stuff, but It didnt work
10-19-2006, 01:17 PM#2
Vexorian
You don't remove variables, you remove objects that are pointed by variables.

Then you can assign a toremoveloc variable in the first trigger and then just call RemoveLocation(udg_toremoveloc) in the other trigger