SetOutfit - Actor

Revision as of 16:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(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