LifePlay-Revival/Docs/Modding/Command_Functions/generateRelativeMatchRace.txt
2019-01-11 14:24:05 +07:00

14 lines
No EOL
607 B
Text

Actor.generateRelativeMatchRace()
USE:
Generate a new relative actor that matches the racial preset of another person (for example, to generate my relative). The actor generated using this method will be permanent right away, meaning they will remain after the current scene ends and are usable for some functions that only work with permanent actors.
TYPE: Command, Ref
RETURNS: Actor
THEME: Actor Creation
COMPARE: generatePersonMatchRace
EXAMPLE:
Actor = Player.generateRelativeMatchRace() // This way if you're black, your brother wouldn't turn up white.
Actor.dress()
Actor.show(2)