OnLocationCleared - Location

Revision as of 16:41, 17 November 2015 by imported>Plplecuyer (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Location Script

Event called when the Location is cleared.

Syntax

Event OnLocationCleared()

Parameters

None.

Examples

Event Location.OnLocationCleared(Location akSender)
  ; Remote event from some location that we registered for beforehand
  Debug.Trace(akSender + " has been cleared!")
endEvent

Notes

Locations can't actually be scripted to get this event on a location you must register for it remotely.

See Also