Background for Fallout 4
Member of the Location script

Description

Wiki Description

Event called when the Location is cleared.

Documentation Comment

Event sent to location when its cleared


Caveats

CK Wiki - Notes

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

Examples

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

Auto-Generated Example

Scriptname MyCoolScript extends Location

event OnLocationCleared()
    Debug.trace("Event received - OnLocationCleared")
endEvent

Related Pages


Additional References

View this event’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.