Background for Starfield
Member of the ObjectReference script
boolfunctionTryToKill(ObjectReferenceakKiller)

Description

Documentation Comment

Evaulate if you're able to kill the akKiller
akKiller: The Actor or SpaceshipReference who is the guilty party in killing this one. If the type doesn't match, then the killer will be None.
(I.e. if this is called on an actor, the killer must also be an actor)
Returns true if this was called on an actor or spaceship and was killed.


Caveats


Parameters


Examples

Auto-Generated Example

ObjectReference myObjectReference__akKiller

bool returnedValue = myObjectReference__toCallFunctionOn.TryToKill(myObjectReference__akKiller)
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.