Execute_SetRelationship
Description
Sets the specified relationship stat between Self and Target to the given value. The value is applied from Self toward Target using the provided stat ID.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Always Self for this action |
| S1 | Relationship stat ID to set (defined in RelationshipStat.json) |
| F1 | Value to set the relationship stat to |
Examples
| Description | BaseObject | Command | S1 | F1 |
|---|---|---|---|---|
| Set romance between Self and Target to -60 | Self | SetRelationship | romance | -60 |
| Set friendship between Self and Target to 0 | Self | SetRelationship | friendship | 0 |
| Set business stat between Self and Target to 25 | Self | SetRelationship | business | 25 |
| Set romance between Self and Target to maximum (100) | Self | SetRelationship | romance | 100 |
Back to Command FinderSearch and filter all 399 Script Execution documents