Page 1 of 1

[Command] generatePersonTemporaryMatchRace

Posted: Mon Nov 01, 2021 9:07 pm
by Raddeck
Actor.generatePersonTemporaryMatchRace()


USE:
Generate a temporary new actor that matches the racial preset of another person.
The actor generated using this method will be temporary (unless you later use MakePermanent() ), meaning they will be deleted and forgotten about after the current scene ends and are not usable for some functions that only work with permanent actors.


TYPE: Command, Ref
RETURNS: Actor
THEME: Actor Creation
COMPARE: generatePerson, generatePersonTemporary


EXAMPLE:

Code: Select all

    Actor = Actor2.generatePersonTemporaryMatchRace()  // If Actor2 is asian, Actor will also be east asian
    Actor.dress()
    Actor.show(2)