Difference between revisions of "OnLocationCleared - Location"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Plplecuyer
 
imported>Goggle
 
(One intermediate revision by the same user not shown)
Line 23: Line 23:


== Notes ==
== Notes ==
Locations can't actually be scripted to get this event on a location you must register for it remotely.
*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).


== See Also ==
== See Also ==
*[[Location Script]]
*[[Location Script]]

Latest revision as of 01:44, 5 September 2016

Member of: Location Script

Event called when the Location is cleared.

Syntax[edit | edit source]

Event OnLocationCleared()

Parameters[edit | edit source]

None.

Examples[edit | edit source]

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

Notes[edit | edit source]

  • 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).

See Also[edit | edit source]