Background for Starfield
Member of the RefCollectionAlias script
eventOnDying(ObjectReferenceakSenderRef, ObjectReferenceakKiller)

Description

Documentation Comment

Event that is triggered when this actor begins dying (only if this alias points at an actor)


Parameters


Examples

Auto-Generated Example

Scriptname MyCoolScript extends RefCollectionAlias

event OnDying(ObjectReference akSenderRef, ObjectReference akKiller)
    Debug.trace("Event received - OnDying: akSenderRef = " + akSenderRef + " akKiller = " + akKiller)
endEvent
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.