SetOutfit - Actor: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function SetOutfit(Outfit akOutfit, bool abSleepOutfit = false) native
Function SetOutfit(Outfit akOutfit, bool abSleepOutfit = false) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 19: Line 19:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Set the prisoner's outfit to rags
; Set the prisoner's outfit to rags
Prisoner.SetOutfit(RagsOutfit)
Prisoner.SetOutfit(RagsOutfit)
</source>
</syntaxhighlight>
<br>
<br>
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Set the prisoner's sleep outfit to rags too
; Set the prisoner's sleep outfit to rags too
Prisoner.SetOutfit(RagsOutfit, true)
Prisoner.SetOutfit(RagsOutfit, true)
</source>
</syntaxhighlight>


== See Also ==
== See Also ==
*[[Actor Script]]
*[[Actor Script]]

Navigation menu