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:48] 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 76: Line 75:
  
 ==== sysGetSecondaryConstructionPrice ==== ==== sysGetSecondaryConstructionPrice ====
-''**sysGetSecondaryConstructionPrice ( TypeNum )**'' returns amount of secondary construction material required - set in the buildings editor tool// +''**sysGetSecondaryConstructionPrice ( TypeNum )**'' returns amount of secondary construction material required - set in the buildings editor tool.//
-//+
 // //
  
Line 84: Line 82:
 ''**sysIsInBuildZone( MapX, MapY, ZoneIDNum )**'' checks if the specified map location is within the specified build zone. // ''**sysIsInBuildZone( MapX, MapY, ZoneIDNum )**'' checks if the specified map location is within the specified build zone. //
 // //
 +
 ==== sysIsInNoBuildZone ==== ==== sysIsInNoBuildZone ====
 ''**sysIsInBuildZone( MapX, MapY, ZoneIDNum )**'' checks if the specified map location is within the specified no-build zone. // ''**sysIsInBuildZone( MapX, MapY, ZoneIDNum )**'' checks if the specified map location is within the specified no-build zone. //
 // //
  
scripting/reference/system_functions/constructionfunctions.1581068900.txt.gz · Last modified: 2020/02/07 03:48 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