Execute_AddRelationshipFlag
Description
Adds the specified relationship flag from BaseObject to the counterpart. The flag is automatically removed after the LifeTime defined in RelationshipFlag.json. Start scripts (StartScriptIds) defined for the flag are executed when it is added. If another flag in the same Category already exists, it is removed and replaced; its EndScriptIds are executed.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Character who receives the relationship flag (Self or Target) |
| S1 | Relationship flag ID to add |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Self has a crush on Target | Self | AddRelationshipFlag | Crush |
| Target has a crush on Self | Target | AddRelationshipFlag | Crush |
| Self gives a present to Target | Self | AddRelationshipFlag | GavePresent |
| Target gives a present to Self | Target | AddRelationshipFlag | GavePresent |
Back to Command FinderSearch and filter all 399 Script Execution documents