Background for Starfield
Member of the ReferenceAlias script
boolfunctionTryToKill(ObjectReferenceakKiller=NONE)

[DEV SERVER] Loading description...


Caveats


Parameters

ObjectReferenceakKiller=NONE


Examples

; Try to kill the bandit
if BanditAlias.TryToKill()
  Debug.Trace("Bandit killed!")
else
  Debug.Trace("No banded to kill...")
endIf

Auto-Generated Example

ObjectReference myObjectReference__akKiller

bool returnedValue = myReferenceAlias__toCallFunctionOn.TryToKill(myObjectReference__akKiller)

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.