Difference between revisions of "Race Script"
Jump to navigation
Jump to search
imported>PurpleLunchbox |
imported>CraftySentinel m (→SKSE Member Functions: Formatting Change) |
||
Line 25: | Line 25: | ||
== SKSE Member Functions == | == SKSE Member Functions == | ||
{|class="wikitable" width =100% | |||
!style="text-align:left;"|Function | |||
!style="text-align:left;"|Description | |||
|- | |||
|[[GetSpellCount - Race|Int '''GetSpellCount'''()]] | |||
|Returns the number of spells for the race. | |||
|- | |||
|[[GetNthSpell - Race|Spell '''GetNthSpell'''(Int ''n'')]] | |||
|Returns the specified spell from the race. | |||
|- | |||
|[[IsRaceFlagSet - Race|Bool '''IsRaceFlagSet'''(Int ''n'')]] | |||
|Returns whether the specified race flag is set. | |||
|- | |||
|[[SetRaceFlag - Race|'''SetRaceFlag'''(Int ''n'')]] | |||
|Sets the specified race flag. | |||
|- | |||
|[[ClearRaceFlag - Race|'''ClearRaceFlag'''(Int ''n'')]] | |||
|Clears the specified race flag. | |||
|- | |||
|[[GetDefaultVoiceType - Race|VoiceType '''GetDefaultVoiceType'''()]] | |||
|Returns the race's default voice type. | |||
|- | |||
|[[SetDefaultVoiceType - Race|'''SetDefaultVoiceType'''(VoiceType ''voice'')]] | |||
|Sets the race's default voice type. | |||
|- | |||
|[[GetNumPlayableRaces - Race|Int '''GetNumPlayableRaces'''()]] | |||
|Returns the number of playable races. | |||
|- | |||
''' | |[[GetNthPlayableRace - Race|Race '''GetNthPlayableRace'''(Int ''n'')]] | ||
|Returns the Nth playable race. | |||
|- | |||
|[[GetRace - Race|Race '''GetRace'''(String ''editorId'')]] | |||
|Returns a race by its editorId name. | |||
|- | |||
|} | |||
== Events == | == Events == | ||
None | None |
Revision as of 06:24, 24 October 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
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