Page 1 of 1

[Command] deletePerson

Posted: Thu Oct 28, 2021 10:14 pm
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