ApplyCommandEffect - ANDR PapyrusFunctions
Member of: ANDR_PapyrusFunctions Script
Makes akTarget a commanded actor of akCaster, so it follows and fights for them. Unlike vanilla, works on living, non-summoned actors and for non-player casters.
SyntaxEdit
Bool Function ApplyCommandEffect(Actor akCaster, Actor akTarget) global nativeExamplesEdit
If ANDR_PapyrusFunctions.ApplyCommandEffect(BobRef, SteveRef)
Debug.Trace("Bob applied a command effect on Steve.")
EndIfParametersEdit
- akCaster: The commanding actor.
- akTarget: The actor to command. Any previous commander is released first.
Return ValueEdit
Whether the command was applied.