Background for Fallout 4
Member of the Actor script
ActorfunctionGetKiller()Native

Description

Wiki Description

Obtains the actor that killed this one. If this actor isn't dead, returns None.

Documentation Comment

Returns this actor's killer - or None if this actor is still alive


Caveats


Examples

; Print a message if Bob is in combat with the player
if (Bob.GetKiller() == Game.GetPlayer())
  Debug.Trace("Bob was killed by the player!")
endIf

Auto-Generated Example

Actor returnedValue = myActor__toCallFunctionOn.GetKiller()

Related Pages


Additional References

View this function’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.