Skip to main content

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

ParameterDescription
BaseObjectAlways Self for this action
S1Relationship stat ID to modify (defined in RelationshipStat.json)
S2Set to True to bypass main relationship constraint; leave empty for default
F1Amount to add to the relationship stat (can be negative)

Examples

DescriptionBaseObjectCommandS1S2F1
Increase friendship between Self and Target by 10SelfAddRelationshipfriendship10
Decrease romance between Self and Target by 15SelfAddRelationshipromance-15
Increase business between Self and Target by 5SelfAddRelationshipbusiness5
Force add 20 to friendship ignoring main relationshipSelfAddRelationshipfriendshipTrue20