Difference between revisions of "GetOutfit - ActorBase"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
m (Changed the example)
imported>Qazaaq
(added required f4se version)
 
Line 1: Line 1:
'''F4SE Member of:''' [[ActorBase Script]]
'''F4SE Member of:''' [[ActorBase Script]]
{{Template:Papyrus:RequiredF4SE|version=0.2.0}}


Returns this actors default or sleeping [[Outfit]].
Returns this actors default or sleeping [[Outfit]].

Latest revision as of 02:14, 21 January 2018

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]