setRaceGenerated(black)
USE:
To set the actor to a certain ethnic group.
PARAMETERS:
arab
asian
black
indian
latin
white
TYPE: Command, Reference
RETURNS: bool
THEME: Actor
COMPARE: isRace, getRace
EXAMPLE:
Code: Select all
For setting a specific ethnic group.
setRaceGenerated(black)
Actor = generatePersonTemporary()
While !Player.isInterestedIn(Actor)
Actor = generatePersonTemporary()
Endwhile
For setting a random ethnic group.
setRaceGenerated(Player, false)
Actor = generatePersonTemporary()
While !Player.isInterestedIn(Actor)
Actor = generatePersonTemporary()
Endwhile