Difference between revisions of "StartCombat - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
imported>Darkconsole
m (fixed it.)
 
Line 24: Line 24:
<source lang="papyrus">
<source lang="papyrus">
; Get two of our aliases to fight each other
; Get two of our aliases to fight each other
Vapor.StartCombat(Luke)
Vader.StartCombat(Luke)
</source>
</source>



Latest revision as of 18:39, 10 February 2015

Member of: Actor Script

Attempts to get this actor to initiate combat with the target.

Syntax[edit | edit source]

Function StartCombat(Actor akTarget) native

Parameters[edit | edit source]

  • akTarget: Who to attempt to initiate combat with.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Have this actor initiate combat with the player
StartCombat(Game.GetPlayer())


; Get two of our aliases to fight each other
Vader.StartCombat(Luke)

See Also[edit | edit source]