Page 1 of 1

[Command] saveAndDelete

Posted: Thu Nov 04, 2021 8:08 pm
by Raddeck
Actor.saveAndDelete()


USE:
Force remove this actor from current memory, but saves any (stat) changes made to them in this scene first.
Used for party scenes to avoid bloating.


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


EXAMPLE:

Code: Select all

Actor.saveandDelete()
or
Actor.saveandDelete(true)
or
Actor.saveandDelete(false)