Difference between revisions of "SetCombatStyle - ActorBase"
Jump to navigation
Jump to search
imported>Sagitarius22 (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' ActorBase Script Set the combat style of this actor. (This function requires SKSE) ==...") |
imported>Sagitarius22 |
||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function SetCombatStyle( | Function SetCombatStyle(combatstyle cs) native | ||
</source> | </source> | ||
Revision as of 07:28, 4 June 2012
SKSE Member of: ActorBase Script
Set the combat style of this actor. (This function requires SKSE)
Syntax
Function SetCombatStyle(combatstyle cs) native
Parameters
- combatstyle: the combat style we choose for this actorbase.
Return Value
None.
Notes
- This is a function performed on an ActorBase, meaning all Actors derived from this will have this combat style.
- SKSE does not provide CombatStyle properties as of yet. You'll have to put the combat style in a FormList, then cast it to a CombatStyle.
Examples
FormList Property List Auto
ActorBase pActorBase = Game.GetPlayer().GetActorBase()
pActorBase.SetCombatStyle(List.GetAt(1) as CombatStyle)