Background for Skyrim SE
Member of the Actor script
voidfunctionSetRace(RaceakRace=NONE)Native

Description

Wiki Description

Change actors Race and reload his art.

Documentation Comment

Sets the actors race
akRace - OPTIONAL (Def=None) New race for this actor. Default, no race, to switch back to the original race.


Caveats


Parameters

RaceakRace=NONE

CK Wiki Description

The actors new Race.

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

Examples

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

Auto-Generated Example

Race myRace__akRace

myActor__toCallFunctionOn.SetRace(myRace__akRace)

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.