Background for Fallout 4
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

CK Wiki - Notes

This function should only be used on actors that are alive.

This function should only be used on unique actors because the race is changed on the base actor data.


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 Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.