Page 1 of 1

[Command] generateRelativeMatchRace

Posted: Mon Nov 01, 2021 9:11 pm
by Raddeck
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, generatePersonTemporaryMatchRace


EXAMPLE:

Code: Select all

Actor = Player.generateRelativeMatchRace()  // This way if you're black, your brother wouldn't turn up white.
Actor.dress()
Actor.show(2)