CanPlaceOnRoad
aubergine10 edited this page Oct 20, 2015
·
4 revisions
##Overview
The CanPlaceOnRoad
property enables the associated object to be placed on roads. The [RoadGate
door](RoadGate (Door)) is a good example.
##Syntax
This optional setting is used in materials.txt
and must be within a BEGIN Object ...
definition block. It can be used only once per definition block.
Properties CanPlaceOnRoad
##Scripting
There is currently no way for scripts to determine if an object has this property.
-
Object.Spawn()
ignores all placement restrictions, soCanPlaceOnRoad
property has no effect -
Object.GetMaterial()
can be used to determine the material present at a given map location
##Notes
By default all objects are implicitly prohibited from being placed on roads.
This property only affects manual placement of objects by the player.
##See Also
-
materials.txt
: -
Consumables:
- [
ElectricalCable
](ElectricalCable (Consumable)) - [
LargePipe
](LargePipe (Consumable)) - [
SmallPipe
](SmallPipe (Consumable))
- [
-
Doors:
- [
RoadGate
](RoadGate (Door))
- [
-
Materials:
- [
Road
](Road (Material)) - [
RoadCrossing
](RoadCrossing (Material)) - [
RoadCrossingLeft
](RoadCrossingLeft (Material)) - [
RoadCrossingRight
](RoadCrossingRight (Material)) - [
RoadMarkings
](RoadMarkings (Material)) - [
RoadMarkingsLeft
](RoadMarkingsLeft (Material)) - [
RoadMarkingsRight
](RoadMarkingsRight (Material))
- [
^ Open "Pages" to Search
Administrator
BlockMovement
BuiltOnWall
CanPlaceOnRoad
CutsceneMarker
DoesNotTire
DontAvoid
Door
Electrical
Entity
ExplodeWhenWet
Guard
Improvised
Luxuries
Material
Metal
MobileObject
Narcotics
NoImport
PrisonersCanWork
Processor
RangedWeapon
RequiresSector
RoomSpecific
Rubbish
Scripted
Sellable
ShelfObject
SlowDelivery
Smelly
Staff
StaticObject
Tools
Uncloneable
Utility
Vehicle
Weapons
Wired