Num cars (Traffic Density Overlay): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Maxim@tygron.com (talk | contribs)
No edit summary
Tag: Reverted
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Overlay attributes|
{{Building attributes|<onlyinclude>
<onlyinclude>{{:Num cars (Traffic Density Overlay)|overlay=Traffic Density}}</onlyinclude>
{{Building attributes|type=row|group=Traffic Density Overlay
| unit=vehicles/h
| attribute=NUM_CARS
| range=0 to {{Integermaxvalue}}
| description=The amount of car traffic on this road.
| defaultvalue=0
}}</onlyinclude>}}
 
The value can either be a single value, or an [[Attribute array]] of values. As a single value, this reflects the amount of vehicles per [[hours (Traffic Density Overlay)|hour at any point of the day]]. As an [[Attribute array]], it's assumed to be an array of 24 values, each value corresponding to each hour of the day.
 
{{article end
|howtos=
* [[How to add and remove an Attribute]]
|seealso=
* [[Traffic visualization]]
* [[Hours (Traffic Density Overlay)]]
* [[Cars per hour (Function Value)]]
* [[Num buses (Traffic Density Overlay)]]
* [[Num trucks (Traffic Density Overlay)]]
* [[Num vans (Traffic Density Overlay)]]
|api=*[[Api session event editor building set attribute]]
}}
}}
{{:Num cars (Traffic Density Overlay)|content=true|overlay=Traffic Density}}

Latest revision as of 13:22, 14 July 2026

The value can either be a single value, or an Attribute array of values. As a single value, this reflects the amount of vehicles per hour at any point of the day. As an Attribute array, it's assumed to be an array of 24 values, each value corresponding to each hour of the day.