GetOutfit - ActorBase

From the Fallout4 CreationKit Wiki
Revision as of 20:20, 19 April 2017 by imported>Qazaaq (Changed the example)
Jump to navigation Jump to search

F4SE Member of: ActorBase Script

Returns this actors default or sleeping Outfit.

Syntax

Outfit Function GetOutfit(bool bSleepOutfit = false) Native

Parameters

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

Return Value

The Outfit for this actor.

Examples

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

None.

See Also