SetOutfit - Actor

Revision as of 21:21, 5 September 2026 by HoodBot (talk | contribs) (Convert source tags to syntaxhighlight)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Actor Script

Change the default or sleep outfit for this actor.

SyntaxEdit

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

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

; Set the prisoner's outfit to rags
Prisoner.SetOutfit(RagsOutfit)


; Set the prisoner's sleep outfit to rags too
Prisoner.SetOutfit(RagsOutfit, true)

See AlsoEdit