Skip to main content

Execute_SyncTalkAtmosphereWithRelationshipFlag

Description

Keeps the talk atmosphere between BaseObject and the other character of the script in step with the S1 relationship flag, using the axis values that TalkAtmosphere.json RelationshipFlagValues gives S1. When BaseObject holds S1 toward the other character (the flag was just added), the axes are set to the flag values at once and hold for their DecayDelayMinutes, then decay toward the flag values while the flag is held. When BaseObject no longer holds S1 (the flag just ended), the atmosphere stays where it is and those axes decay from now toward the atmosphere without the flag. Put it in both the StartScriptIds and the EndScriptIds of the S1 relationship flag. Does nothing when the table gives S1 no value.

Parameters

ParameterDescription
BaseObjectOne of the two characters (Self or Target); the other is the partner
S1Relationship flag ID whose talk atmosphere values are applied

Examples

DescriptionBaseObjectCommandS1
Set and release the betrayal atmosphere with the betrayal flagSelfSyncTalkAtmosphereWithRelationshipFlagBetrayal_Affair_2