OnLocationCleared - Location
Member of: Location Script
Event called when the Location is cleared.
SyntaxEdit
Event OnLocationCleared()
ParametersEdit
None.
ExamplesEdit
Event Location.OnLocationCleared(Location akSender)
; Remote event from some location that we registered for beforehand
Debug.Trace(akSender + " has been cleared!")
endEvent
NotesEdit
- Locations can't actually be scripted to get this event on a location you must register for it remotely.
- When a location is flagged as cleared already, this event will not be sent even if you clear it again(the flag is not reset ever).