Execute_RunScriptToAffairCouple
Description
Resolves the affair pair around BaseObject (BaseObject's cheating partner and the mistress/lover they
are with) and runs a script on each of them, with BaseObject set as the Target of both script contexts.
If the affair pair cannot be resolved (BaseObject's partner is not part of the observed pairing), nothing
is executed.
Parameters
| Parameter | Description |
|---|
| BaseObject | The observer used to resolve the affair pair (Self or Target) |
| S1 | Script ID to run on the cheating partner (Self = cheating partner, Target = BaseObject) |
| S2 | Script ID to run on the mistress/lover (Self = mistress, Target = BaseObject) |
Examples
| Description | BaseObject | Command | S1 | S2 |
|---|
| Run reaction scripts on both the cheating partner and the mistress | Self | RunScriptToAffairCouple | Affair_Partner_Reaction | Affair_Mistress_Reaction |
| Run a script only on the cheating partner, none on the mistress | Self | RunScriptToAffairCouple | Affair_Partner_Reaction | |