Execute_RemoveRelationshipFlag
Description
Removes the specified relationship flag from BaseObject toward the counterpart. End scripts (EndScriptIds) defined for the flag in RelationshipFlag.json are executed on removal. S2 controls the scope of removal:
- Single: Remove the flag from BaseObject toward the counterpart only.
- Both: Remove the flag from both directions (BaseObject <-> counterpart).
- SingleToAny: Remove the flag from BaseObject toward everyone in the relationship window.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Character whose relationship flag is removed (Self or Target) |
| S1 | Relationship flag ID to remove |
| S2 | Scope of removal (Single, Both, SingleToAny) |
Examples
| Description | BaseObject | Command | S1 | S2 |
|---|---|---|---|---|
| Self no longer has a crush on Target | Self | RemoveRelationshipFlag | Crush | Single |
| Target no longer has a crush on Self | Target | RemoveRelationshipFlag | Crush | Single |
| Both Self and Target no longer love each other | Self | RemoveRelationshipFlag | Love | Both |
| Self gives up all crushes toward anyone | Self | RemoveRelationshipFlag | Crush | SingleToAny |
Back to Command FinderSearch and filter all 399 Script Execution documents