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
| Parameter | Description |
|---|---|
| BaseObject | The character that initiates the visit action (Self or Target). Destination is based on the other character. |
| S1 | The destination type based on the other character (TargetCurrentLocation or TargetResidingSite). |
| S2 | The script to execute after the BaseObject has arrived at the destination. |
Examples
| Description | BaseObject | Command | S1 | S2 |
|---|---|---|---|---|
| Self moves to Target's current location and runs a howling script | Self | VisitWithoutOccupyTarget | TargetCurrentLocation | HowlingScript |
| Self moves to Target's residing site and runs an opportunity card script | Self | VisitWithoutOccupyTarget | TargetResidingSite | OpportunityCardScript |
| Target moves to Self's residing site and runs an opportunity card script | Target | VisitWithoutOccupyTarget | TargetResidingSite | OpportunityCardScript |
| Self moves to Target's current location and runs a relationship script | Self | VisitWithoutOccupyTarget | TargetCurrentLocation | RelationshipScript |