GetOutfit - ActorBase

From the CreationKit Wiki
Revision as of 07:38, 4 June 2012 by imported>Sagitarius22 (→‎See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: ActorBase Script

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

Syntax[edit | edit source]

Outfit Function  GetOutfit(bool bSleepOutfit = false) native

Parameters[edit | edit source]

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

Return Value[edit | edit source]

Returns the ActorBase's outfit.

Notes[edit | edit source]

None.

Examples[edit | edit source]

Outfit Property SleeperOutfit Auto

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

See Also[edit | edit source]