GetOutfit - ActorBase

From the Fallout4 CreationKit Wiki
Revision as of 02:14, 21 January 2018 by imported>Qazaaq (added required f4se version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

F4SE Member of: ActorBase Script
Requires F4SE version 0.2.0 or higher.

Returns this actors default or sleeping Outfit.

Syntax[edit | edit source]

Outfit Function GetOutfit(bool bSleepOutfit = false) Native

Parameters[edit | edit source]

  • bSleepOutfit: Whether or not to return the actors sleep outfit.
    • Default: False

Return Value[edit | edit source]

The Outfit for this actor.

Examples[edit | edit source]

ActorBase PlayerBase = Game.GetPlayer().GetActorBase()

Outfit defaultOutfit = PlayerBase.GetOutfit()
Debug.Trace(defaultOutfit)


ActorBase PlayerBase = Game.GetPlayer().GetActorBase()

Outfit sleepOutfit = PlayerBase.GetOutfit(true)
Debug.Trace(sleepOutfit)

Notes[edit | edit source]

None.

See Also[edit | edit source]