SetOutfit - Actor

From the Fallout4 CreationKit Wiki
Revision as of 20:59, 19 April 2017 by imported>Qazaaq (Use normal line comment for examples.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]