- Found in:
- Vanilla
Description
Wiki Description
This is a convenient way to kill an actor in an alias without calling ReferenceAlias.GetActorReference() on it. It's mostly useful in cases where you have lots of aliases that may or may not be filled and you want to call Actor.Kill(...) on them without having to test for an actor being present first.
Documentation Comment
Convenience function - jduvall
Caveats
Examples
; Try to kill the bandit
if BanditAlias.TryToKill()
Debug.Trace("Bandit killed!")
else
Debug.Trace("No banded to kill...")
endIfAuto-Generated Example
bool returnedValue = myReferenceAlias__toCallFunctionOn.TryToKill()Related Pages
- ReferenceAlias
- Actor.Kill(...)
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
