Skip to main content

Execute_VisitWithoutOccupyTarget

Description

Performs a visit action where the BaseObject character moves to a location associated with the other character and executes a script after arrival, without occupying or restricting the Target. The Target is not affected and may continue any ongoing behavior.

Note

If BaseObject is Target, the roles of Self and Target are logically swapped within the S2 script. If the destination is far away, the BaseObject may be teleported to a nearby spawner, but guaranteed arrival time is not ensured.

Parameters

ParameterDescription
BaseObjectThe character that initiates the visit action (Self or Target). Destination is based on the other character.
S1The destination type based on the other character (TargetCurrentLocation or TargetResidingSite).
S2The script to execute after the BaseObject has arrived at the destination.

Examples

DescriptionBaseObjectCommandS1S2
Self moves to Target's current location and runs a howling scriptSelfVisitWithoutOccupyTargetTargetCurrentLocationHowlingScript
Self moves to Target's residing site and runs an opportunity card scriptSelfVisitWithoutOccupyTargetTargetResidingSiteOpportunityCardScript
Target moves to Self's residing site and runs an opportunity card scriptTargetVisitWithoutOccupyTargetTargetResidingSiteOpportunityCardScript
Self moves to Target's current location and runs a relationship scriptSelfVisitWithoutOccupyTargetTargetCurrentLocationRelationshipScript