Race Script

From the CreationKit Wiki
Revision as of 20:07, 7 February 2013 by imported>PurpleLunchbox (→‎Added SKSE 1.6.6 functions)
Jump to navigation Jump to search


Extends: Form Script

Script for the manipulation of a character's race.

Definition

ScriptName Race extends Form

Properties

None

SKSE Properties

Global Functions

None

Member Functions

None

SKSE Member Functions

Int Function GetSpellCount()

  • Returns the number of spells for the race.

Spell Function GetNthSpell(int n)

  • Returns the specified spell from the race.

Bool Function IsRaceFlagSet(int n)

  • Returns whether the specified race flag is set.

Function SetRaceFlag(int n)

  • Sets the specified race flag.

Function ClearRaceFlag(int n)

  • Clears the specified race flag.

VoiceType Function GetDefaultVoiceType()

  • Returns the race's default voice type.

Function SetDefaultVoiceType(VoiceType voice)

  • Sets the race's default voice type.

int Function GetNumPlayableRaces()

  • Returns the number of playable races.

Race Function GetNthPlayableRace(int n)

  • Returns the Nth playable race.

Race Function GetRace(string editorId)

  • Returns a race by its editorId name.

Events

None