[Command] deletePerson

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.deletePerson()


USE:
Force remove this actor completely from the game. They will no longer be called on in scenes or accessible from the Contacts menu.

Used in rare cases to kill off characters or characters moving to a new city etc ...


TYPE: Command, Reference
RETURNS: /
THEME: Actor Removal
COMPARE: hide, makePermanent, delete


EXAMPLE:

Code: Select all

    0::"Exchange contact with <Actor.name>"
    1::"Remove match"

    If 0
        Actor.makeInterested(Player)
        exchangeContact(Actor)
        "Added <Actor.name> to my contacts"
        Actor.hide()
        Actor.saveAndDelete()
    Else
        Actor.hide()
        Actor.deletePerson()
    EndIf
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