Execute_AddRelationshipOneWay
Description
Adds the specified amount to the relationship stat that only the BaseObject character holds toward the other character of the script. The other character's relationship toward the BaseObject does not change (AddRelationship raises both). The add value is scaled the same way as AddRelationship: the PossessHouseholdTalkRelationshipStatRatio from TalkDataAsset during a Talk interaction with a possessed household member, then the BaseObject's modifiers and trait chemistry. S2 can be set to True to force the add regardless of main relationship constraints.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Character whose relationship changes (Self or Target) |
| 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 only Self's romance toward Target by 5 | Self | AddRelationshipOneWay | Romance | 5 | |
| Increase only Target's romance toward Self by 5 | Target | AddRelationshipOneWay | Romance | 5 |