Background for Starfield
Member of the ObjectReference script

Description

Wiki Description

Event called when an actor activates a furniture reference in order to exit it.

Documentation Comment

Event received when this furniture is exited.


Caveats

CK Wiki - Notes

This event will still be received if the object reference has had its normal activation processing blocked via ObjectReference.BlockActivation(...). It is also most likely running after the object itself has done (or ignored) it's normal activation processing. Which means, for example, that you should not expect the exiting actor's Sit/Sleep/Interaction state to be anything in particular.


Parameters

  1. ObjectReferenceakActionRef

    CK Wiki Description

    The ObjectReference that is exiting this furniture reference.


Examples

Event OnExitFurniture(ObjectReference akActionRef)
  Debug.Trace( "Actor " + akActionRef + " exited furniture.")
EndEvent

Auto-Generated Example

Scriptname MyCoolScript extends ObjectReference

event OnExitFurniture(ObjectReference akActionRef)
    Debug.trace("Event received - OnExitFurniture: akActionRef = " + akActionRef)
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.