Skip to main content

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

ParameterDescription
BaseObjectThe character to test (Self or Target)
CompareTypeEqual: true while the character is traveling. NotEqual: true otherwise.

Examples

DescriptionBaseObjectCommandCompareType
Allow only while the acting character is travelingSelfIsCityTravelInProgressEqual
Block adoption while the acting character travelsSelfIsCityTravelInProgressNotEqual
Is the conversation partner a tourist?TargetIsCityTravelInProgressEqual