GetOutfit - ActorBase

SKSE Member of: ActorBase Script

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

SyntaxEdit

Outfit Function  GetOutfit(bool bSleepOutfit = false) native

ParametersEdit

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

Return ValueEdit

Returns the ActorBase's outfit.

NotesEdit

None.

ExamplesEdit

Outfit Property SleeperOutfit Auto

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

See AlsoEdit