SetRace - Actor

From the CreationKit Wiki
Revision as of 15:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Actor Script

Change actors race and reload his art.

Syntax

Function SetRace(Race akRace = None) native

Parameters

  • akRace: The actors new race.
    • Default: None - The default will set the actors race back to the original race.

Return Value

None.

Examples

; Set the fan's race to elf
AnnoyingFan.SetRace(ElfRace)

See Also