Difference between revisions of "Race Script"
Jump to navigation
Jump to search
imported>Seigneur Voland |
imported>PurpleLunchbox |
||
Line 39: | Line 39: | ||
'''Function [[ClearRaceFlag - Race|ClearRaceFlag]](int n)''' | '''Function [[ClearRaceFlag - Race|ClearRaceFlag]](int n)''' | ||
*Clears the specified race flag. | *Clears the specified race flag. | ||
'''VoiceType Function [[GetDefaultVoiceType - Race|GetDefaultVoiceType]]()''' | |||
*Returns the race's default voice type. | |||
'''Function [[SetDefaultVoiceType - Race|SetDefaultVoiceType]](VoiceType voice)''' | |||
*Sets the race's default voice type. | |||
'''int Function [[GetNumPlayableRaces - Race|GetNumPlayableRaces]]()''' | |||
*Returns the number of playable races. | |||
'''Race Function [[GetNthPlayableRace - Race|GetNthPlayableRace]](int n)''' | |||
*Returns the Nth playable race. | |||
'''Race Function [[GetRace - Race|GetRace]](string editorId)''' | |||
*Returns a race by its editorId name. | |||
== Events == | == Events == | ||
None | None |
Revision as of 20:07, 7 February 2013
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