Skip to main content

Condition_City

Description

Checks whether the current city's ID matches the specified city map ID (S1). The city is obtained from the current simulation state, not from the BaseObject directly.

Parameters

ParameterDescription
BaseObjectThe character entity used to look up the context (Self or Target)
CompareTypeEqual: city ID must match S1; NotEqual: city ID must not match S1
S1City map ID to compare against (e.g., Gangnam_Map, RedCity_Map, Cahaya_Map)

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check that the current city is Dowon (Gangnam)SelfCityEqualGangnam_Map
Check that the current city is NOT RedCitySelfCityNotEqualRedCity_Map
Check that the current city is CahayaSelfCityEqualCahaya_Map