Difference between revisions of "Race Script"

564 bytes added ,  20:07, 7 February 2013
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