Difference between revisions of "GetOutfit - ActorBase"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Sagitarius22
(Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' ActorBase Script Get the combat style of this actor. (This function requires SKSE) ==...")
 
imported>Sagitarius22
m
Line 4: Line 4:
'''SKSE Member of:''' [[ActorBase Script]]
'''SKSE Member of:''' [[ActorBase Script]]


Get the combat style of this actor. (This function requires SKSE)
Get the outfit of this actor. (This function requires SKSE)


== Syntax ==
== Syntax ==

Revision as of 07:38, 4 June 2012

SKSE Member of: ActorBase Script

Get the outfit of this actor. (This function requires SKSE)

Syntax

Outfit Function  GetOutfit(bool bSleepOutfit = false) native

Parameters

  • bsleepOutfit: will return the default outfit if false, and the sleep outfit if true. (default = false)

Return Value

Returns the ActorBase's outfit.

Notes

None.

Examples

Outfit Property SleeperOutfit Auto

ActorBase pActorBase = Game.GetPlayer().GetActorBase()
if pActorBase.GetOutfit(true) == SleeperOutfit
; ...
endif

See Also