scripting:reference:system_functions:townfunctions
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| scripting:reference:system_functions:townfunctions [2020/01/29 10:41] – created mit | scripting:reference:system_functions:townfunctions [2025/05/28 18:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Town Functions ===== | ===== Town Functions ===== | ||
| ==== sysGetNearestTown ==== | ==== sysGetNearestTown ==== | ||
| + | '' | ||
| + | |||
| ==== sysTownGetRelationship ==== | ==== sysTownGetRelationship ==== | ||
| + | '' | ||
| + | \\ | ||
| ==== sysTownGetNumBuildingsOfType ==== | ==== sysTownGetNumBuildingsOfType ==== | ||
| - | ^ Format | sysTownGetNumBuildingsOfType( | + | ^ Format | sysTownGetNumBuildingsOfType( TownBuildingID, |
| ^ Description | Returns the number of buildings of this type currently exist within the specified town. Useful for when you want to script a system that limits the number of a particular type of building per town | | ^ Description | Returns the number of buildings of this type currently exist within the specified town. Useful for when you want to script a system that limits the number of a particular type of building per town | | ||
| - | ^ Parameters | BuildingID of the town to query | | ||
| - | ^ | Type number of the building to check | | ||
| ^ Returns | Number of this type of building in the town | | ^ Returns | Number of this type of building in the town | | ||
| // | // | ||
scripting/reference/system_functions/townfunctions.1580294488.txt.gz · Last modified: (external edit)
