Skip to content

Remove Character

Remove Character

Deletes a character from the party entirely, removing them from both the active and inactive party lists.

Properties

System

Name Explanation Type
Target The party member to remove from the party. Actor Reference
Update Scene Whether the scene is immediately updated after removing the character. When enabled, the party display on the map updates right away. Toggle

Examples

Remove Party Member 0 from the Party

This removes the first active party member from the party entirely.

remove_character(party_member(0));
{"Data":{"IsReflectedImmediately":false,"Target":{"ReferenceType":0,"Index":0,"IsSelf":false,"IsEntity":false,"IsPartyMember":true,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Party.RemoveCharacterCommand"}

Remove a Character by Unique Identifier with Immediate Scene Update

This removes the party member identified by the unique identifier stored in Global Variable 0 and immediately updates the scene.

remove_character(party_member_uid($gv[0]), immediate);
{"Data":{"IsReflectedImmediately":true,"Target":{"ReferenceType":0,"Index":0,"IsSelf":false,"IsEntity":false,"IsPartyMember":true,"IsIdentifiedByUniqueID":true,"Identifier":{"IsGlobalVariable":true,"IsLocalVariable":false,"IsValue":false,"Value":"","VariableIndex":0,"Metadata":null},"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Party.RemoveCharacterCommand"}