Execute_RemoveRelationshipName
Description
Removes the specified relationship name between Self and Target. If S2 is RemoveAll, the relationship name is removed from all relationships of Self (in both directions). If S2 is empty, the removal applies bidirectionally between Self and Target.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Character whose relationship name is removed (Self or Target) |
| S1 | Relationship ID to remove (defined in Relationship.json) |
| S2 | Set to RemoveAll to remove this relationship name from all of BaseObject's relationships |
Examples
| Description | BaseObject | Command | S1 | S2 |
|---|---|---|---|---|
| Remove engagement relationship between Self and Target | Self | RemoveRelationshipName | engagement | |
| Remove all engagement relationships Self has | Self | RemoveRelationshipName | engagement | RemoveAll |
| Remove best friend relationship between Self and Target | Self | RemoveRelationshipName | BestFriend | |
| Remove all ex-spouse relationships Target has | Target | RemoveRelationshipName | ExSpouse | RemoveAll |
Back to Command FinderSearch and filter all 399 Script Execution documents