User Tools

Site Tools


scripting:reference:system_functions:constructionfunctions

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:constructionfunctions [2020/02/07 03:23] mitscripting:reference:system_functions:constructionfunctions [2023/05/05 03:13] (current) – [sysAddBuilding] mit
Line 44: Line 44:
 ^ Format | sysAddBuilding ( Building_Type, OwnerID, MapX, MapY, [Building_Name], [Construction Amount 1], [Construction Amount 2] ) )| ^ Format | sysAddBuilding ( Building_Type, OwnerID, MapX, MapY, [Building_Name], [Construction Amount 1], [Construction Amount 2] ) )|
 ^ Description | Used to add a new building to your world | ^ Description | Used to add a new building to your world |
-Parameters Building Type number +Returns The building number created if the building was added to the world, 0 if not |
-^ Returns | 1 if the building was added to the world, 0 if not |+
 //Example//: <note> //Example//: <note>
 <code>Event( "PlaceAnyBuilding", "" ) <code>Event( "PlaceAnyBuilding", "" )
Line 65: Line 64:
  
 ==== sysGetBuildingTypeName ==== ==== sysGetBuildingTypeName ====
-TBD //+''**sysGetBuildingTypeName( TypeNum )**'' returns text name //
 // //
 ==== sysGetConstructionMaterialsAmount ==== ==== sysGetConstructionMaterialsAmount ====
-TBD //+''**sysGetConstructionMaterialsAmount( TypeNum )**'' returns amount of primary construction material required - set in the buildings editor tool//
 // //
  
 ==== sysGetBuildingTypeBasePrice==== ==== sysGetBuildingTypeBasePrice====
-TBD //+''**sysGetBuildingTypeBasePrice( TypeNum )**'' returns the base price for construction of this building type, determined by buildings editor setup and economy settings. Actual price can vary depending on where it is placed on the world (e.g. town construction taxes can apply) if you have those settings enabled too. //
 // //
  
 ==== sysGetSecondaryConstructionPrice ==== ==== sysGetSecondaryConstructionPrice ====
-TBD //+''**sysGetSecondaryConstructionPrice ( TypeNum )**'' returns amount of secondary construction material required - set in the buildings editor tool.//
 // //
  
  
 ==== sysIsInBuildZone ==== ==== sysIsInBuildZone ====
-TBD //+''**sysIsInBuildZone( MapX, MapY, ZoneIDNum )**'' checks if the specified map location is within the specified build zone. //
 // //
 +
 ==== sysIsInNoBuildZone ==== ==== sysIsInNoBuildZone ====
-TBD //+''**sysIsInBuildZone( MapX, MapY, ZoneIDNum )**'' checks if the specified map location is within the specified no-build zone. //
 // //
  
scripting/reference/system_functions/constructionfunctions.1581067382.txt.gz · Last modified: 2020/02/07 03:23 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