[Command] cloneFrom

Post Reply
User avatar
Raddeck
LP Manager
Reactions: 1
Posts: 508
Joined: Sat Oct 16, 2021 6:22 pm
Location: LpWorld
Contact:

Post 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)
Like my work? Buy me a coffee or support me on Patreon to keep it coming. :ugeek:
-Don't PM me for support-
Top
Post Reply