Background for Fallout 4
Member of the Actor script
voidfunctionSetOutfit(OutfitakOutfit, boolabSleepOutfit=false)Native

Description

Wiki Description

Change the default or sleep Outfit for this actor.

Documentation Comment

Sets the actors outfit and makes him wear it


Caveats


Parameters

OutfitakOutfit

CK Wiki Description

The Outfit to wear.

boolabSleepOutfit=false

CK Wiki Description

Is this the sleep outfit or the default one?

  • Default:False

Examples

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

Auto-Generated Example

Outfit myOutfit__akOutfit
bool myBool__abSleepOutfit

myActor__toCallFunctionOn.SetOutfit(myOutfit__akOutfit, myBool__abSleepOutfit)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.