User Tools

Site Tools


scripting:reference:system_functions:townfunctions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:reference:system_functions:townfunctions [2020/02/07 03:25] mitscripting:reference:system_functions:townfunctions [2020/02/07 19:33] (current) – [sysTownGetRelationship] mit
Line 3: Line 3:
 ===== Town Functions ===== ===== Town Functions =====
 ==== sysGetNearestTown ==== ==== sysGetNearestTown ====
 +''**sysGetNearestTown( WorldX, WorldY )**'' returns buildingID num for the nearest town to the specified world coord
 +
 ==== sysTownGetRelationship ==== ==== sysTownGetRelationship ====
 +''**sysTownGetRelationship( townIDNum1, townIDNum2 )**'' returns the current 'political' relationship between the two towns. Exactly how much of the town relationship system is presently viable is somewhat unknown..
 +\\
 ==== sysTownGetNumBuildingsOfType ==== ==== sysTownGetNumBuildingsOfType ====
 ^ Format | sysTownGetNumBuildingsOfType( TownBuildingID, BuildingType )| ^ Format | sysTownGetNumBuildingsOfType( TownBuildingID, BuildingType )|
scripting/reference/system_functions/townfunctions.1581067521.txt.gz · Last modified: 2020/02/07 03:25 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki