ApplyCommandEffect - ANDR PapyrusFunctions
Jump to navigation
Jump to search
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.
Syntax[edit | edit source]
Bool Function ApplyCommandEffect(Actor akCaster, Actor akTarget) global nativeExamples[edit | edit source]
If ANDR_PapyrusFunctions.ApplyCommandEffect(BobRef, SteveRef)
Debug.Trace("Bob applied a command effect on Steve.")
EndIfParameters[edit | edit source]
- akCaster: The commanding actor.
- akTarget: The actor to command. Any previous commander is released first.
Return Value[edit | edit source]
Whether the command was applied.