Execute_AddRelationship
Description
Adds the specified amount to a relationship stat between Self and Target. If the action is triggered during a Talk interaction and one of the characters belongs to a possessed household, the add value is scaled by the PossessHouseholdTalkRelationshipStatRatio from TalkDataAsset. S2 can be set to True to force the add regardless of main relationship constraints.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Always Self for this action |
| S1 | Relationship stat ID to modify (defined in RelationshipStat.json) |
| S2 | Set to True to bypass main relationship constraint; leave empty for default |
| F1 | Amount to add to the relationship stat (can be negative) |
Examples
| Description | BaseObject | Command | S1 | S2 | F1 |
|---|---|---|---|---|---|
| Increase friendship between Self and Target by 10 | Self | AddRelationship | friendship | 10 | |
| Decrease romance between Self and Target by 15 | Self | AddRelationship | romance | -15 | |
| Increase business between Self and Target by 5 | Self | AddRelationship | business | 5 | |
| Force add 20 to friendship ignoring main relationship | Self | AddRelationship | friendship | True | 20 |
Back to Command FinderSearch and filter all 399 Script Execution documents