Num cars (Traffic Overlay): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Construction attributes|<onlyinclude>{{#if:{{{content|}}}||
{{Building attributes|<onlyinclude>{{#if:{{{content|}}}||
{{Construction attributes|type=row|group={{{overlay|Traffic}}} Overlay| unit=vehicles/h      | attribute=NUM_CARS    | description=The amount of car traffic on this road.    }}
{{Building attributes|type=row|group={{{overlay|Traffic}}} Overlay| unit=vehicles/h      | attribute=NUM_CARS    | description=The amount of car traffic on this road.    }}
}}</onlyinclude>}}
}}</onlyinclude>}}


<onlyinclude>{{#if:{{{content|<noinclude>content</noinclude>}}}|
<onlyinclude>{{#if:{{{content|<noinclude>content</noinclude>}}}|
The value can either by a single value, or an [[Attribute array]] of values. As a single value, this reflects the amount of vehicles per [[hours ({{{overlay|Traffic}}} 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 [[hours ({{{overlay|Traffic}}} Overlay)|each hour of the day]].


{{article end
{{article end
Line 14: Line 16:
|seealso=
|seealso=
* [[Traffic visualization]]
* [[Traffic visualization]]
* [[{{{overlay|Traffic}}} Overlay]]
* [[Hours ({{{overlay|Traffic}}} Overlay)]]
* [[Cars per hour (Function Value)]]
* [[Cars per hour (Function Value)]]
{{#if: {{{tformula|}}} |* [[{{{overlay|Traffic}}} formula ({{{overlay|Traffic}}} Overlay) |{{{overlay|Traffic}}} formula]] | }}
{{#if: {{{tformula|}}} |* [[Cars prequel ({{{overlay|Traffic}}} Overlay)]] | }}
{{{seealso|}}}
{{{seealso|}}}
}}
}}


|}}</onlyinclude>
|}}</onlyinclude>

Latest revision as of 13:26, 1 March 2023

The value can either by 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.