141
edits
(Created page with "Category:Scripting Category:Papyrus '''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 == <source lang="papyrus"> Bool Function ApplyCommandEffect(Actor akCaster, Actor akTarget) global native </source> == Examples == <source lang="papyrus"> If ANDR_PapyrusFunctions.ApplyCommandEffect(BobRef,...") |
RobinHood70 (talk | contribs) m (<source> is deprecated) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Bool Function ApplyCommandEffect(Actor akCaster, Actor akTarget) global native | Bool Function ApplyCommandEffect(Actor akCaster, Actor akTarget) global native | ||
</ | </syntaxhighlight> | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
If ANDR_PapyrusFunctions.ApplyCommandEffect(BobRef, SteveRef) | If ANDR_PapyrusFunctions.ApplyCommandEffect(BobRef, SteveRef) | ||
Debug.Trace("Bob applied a command effect on Steve.") | Debug.Trace("Bob applied a command effect on Steve.") | ||
EndIf | EndIf | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
edits