Skip to main content

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

ParameterDescription
BaseObjectCharacter whose relationship changes (Self or Target)
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 only Self's romance toward Target by 5SelfAddRelationshipOneWayRomance5
Increase only Target's romance toward Self by 5TargetAddRelationshipOneWayRomance5