Difference between revisions of "Race Script"
m
→SKSE Member Functions: Formatting Change
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 |