Background for Skyrim SE
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 prisoner's outfit to rags
Prisoner.SetOutfit(RagsOutfit)
; Set the prisoner's sleep outfit to rags too
Prisoner.SetOutfit(RagsOutfit, 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 Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.