Page 1 of 1

[Command] cloneFrom

Posted: Thu Oct 28, 2021 9:51 pm
by Raddeck
Actor.cloneFrom(Actor2)


USE:
Make an actor identical to another actor (stats, appearance, names, sexual preferences, etc).
Used in lpscene to switch between relative and normal NPC status.


TYPE: Command, Ref
RETURNS: Actor
THEME: Actor Creation
COMPARE: generatePersonMatchRace()


EXAMPLE:

Code: Select all

    Actor2.cloneFrom(Actor)  // Actor2 is now a duplicate of Actor
    Actor.deletePerson() // Bye bye, your clone has replaced you
    Actor2.dress()
    Actor2.show(2)