- Found in:
- Vanilla
Description
Wiki Description
This is a convenient way to have an actor in an alias stop combat 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.StopCombat() on them without having to test for an actor being present first.
Documentation Comment
Convenience function - jduvall
Caveats
Examples
; Try to get the bandit to stop combat
if BanditAlias.TryToStopCombat()
Debug.Trace("Bandit stopped combat!")
else
Debug.Trace("No banded to stop...")
endIfAuto-Generated Example
bool returnedValue = myReferenceAlias__toCallFunctionOn.TryToStopCombat()Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
