Race Script

From the CreationKit Wiki
Revision as of 05:24, 24 October 2013 by imported>CraftySentinel (→‎SKSE Member Functions: Formatting Change)
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

Function Description
Int GetSpellCount() Returns the number of spells for the race.
Spell GetNthSpell(Int n) Returns the specified spell from the race.
Bool IsRaceFlagSet(Int n) Returns whether the specified race flag is set.
SetRaceFlag(Int n) Sets the specified race flag.
ClearRaceFlag(Int n) Clears the specified race flag.
VoiceType GetDefaultVoiceType() Returns the race's default voice type.
SetDefaultVoiceType(VoiceType voice) Sets the race's default voice type.
Int GetNumPlayableRaces() Returns the number of playable races.
Race GetNthPlayableRace(Int n) Returns the Nth playable race.
Race GetRace(String editorId) Returns a race by its editorId name.

Events

None