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
| Parameter | Description |
|---|---|
| BaseObject | The character entity used to look up the context (Self or Target) |
| CompareType | Equal: city ID must match S1; NotEqual: city ID must not match S1 |
| S1 | City map ID to compare against (e.g., Gangnam_Map, RedCity_Map, Cahaya_Map) |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check that the current city is Dowon (Gangnam) | Self | City | Equal | Gangnam_Map |
| Check that the current city is NOT RedCity | Self | City | NotEqual | RedCity_Map |
| Check that the current city is Cahaya | Self | City | Equal | Cahaya_Map |
Back to Command FinderSearch and filter all 491 Script Condition documents