Difference between revisions of "Race Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
imported>Seigneur Voland
Line 14: Line 14:
== Properties ==
== Properties ==
None
None
== SKSE Properties ==
*[[Race Flags - Race|List of Race Flags]]


== Global Functions ==
== Global Functions ==
Line 20: Line 23:
== Member Functions ==
== Member Functions ==
None
None
== SKSE Member Functions ==
'''Int Function [[GetSpellCount - Race|GetSpellCount]]()'''
*Returns the number of spells for the race.
'''Spell Function [[GetNthSpell - Race|GetNthSpell]](int n)'''
*Returns the specified spell from the race.
'''Bool Function [[IsRaceFlagSet - Race|IsRaceFlagSet]](int n)'''
*Returns whether the specified race flag is set.
'''Function [[SetRaceFlag - Race|SetRaceFlag]](int n)'''
*Sets the specified race flag.
'''Function [[ClearRaceFlag - Race|ClearRaceFlag]](int n)'''
*Clears the specified race flag.


== Events ==
== Events ==
None
None

Revision as of 06:42, 8 September 2012


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.

Events

None