Condition_IsCityTravelInProgress
Description
Checks whether the BaseObject character is on a city travel: a travel is in progress and the character is on its companion list (which includes the traveling representative). Characters outside the list, such as residents of the destination city, are false even while a travel is running. Same-city travel counts as traveling, and the result stays true until the homecoming completes.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character to test (Self or Target) |
| CompareType | Equal: true while the character is traveling. NotEqual: true otherwise. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Allow only while the acting character is traveling | Self | IsCityTravelInProgress | Equal |
| Block adoption while the acting character travels | Self | IsCityTravelInProgress | NotEqual |
| Is the conversation partner a tourist? | Target | IsCityTravelInProgress | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents