SetOutfit - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Change the default or sleep outfit for this actor.

Syntax[edit | edit source]

Function SetOutfit(Outfit akOutfit, bool abSleepOutfit = false) native

Parameters[edit | edit source]

  • akOutfit: The outfit to wear.
  • abSleepOutfit: Is this the sleep outfit or the default one?
    • Default: False

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Set the players outfit to rags.
Game.GetPlayer().SetOutfit(PrisonerRagsOutfit)


; Set the players sleep outfit to rags too.
Game.GetPlayer().SetOutfit(PrisonerRagsOutfit, true)

See Also[edit | edit source]