Changes

Jump to navigation Jump to search

Documentation/Engine/Units/journey events road event

803 bytes added, 07:10, 23 May 2018
no edit summary
|array<link_ptr>
|
|Array of layer cutscenes (cutscenes placed between start and end cutscenes).This array has more than one element when stacking more types of cutscenes beside each other for example: roadwork should have first layer for signs and second for actual roadwork. Layer usage cabe be seen below: [[#Composition of the road event]]
|-
|mirror_cutscenes
|array<link_ptr>
|
|Array of layer cutscenes Similar as '''layer_cutscenes''' only that it's used for mirror eventopposite road direction. Check '''mirror_active''' attributes for more info.
|-
|layer_min_curve
|-
|outer_lane_allowed
|bool
|false
|Is the road event allowed in the most outer lane?
|allowed_lanes_count
|array<unsigned>
|
|Array of allowed road lanes counts. Empty array means no constraint.
|-
|array<link_ptr>
|
|Array of cutscenes for signs of the most outer lane. More info: [[Documentation/Engine/Random Road Events#Signage]].
|-
|signs_distances_outer
|array<float>
|
|Array of same size as '''signs_cutscenes_outer''' defining distances of signs for the most outer lane (Should be same length as '''signs_distances_outer'''), where positive values will place signs before road event and negative will place it after. More info: [[Documentation/Engine/Random Road Events#Signage]].
|-
|signs_cutscenes_inner
|array<link_ptr>
|
|Array of cutscenes for signs of the most inner lane. More info: [[Documentation/Engine/Random Road Events#Signage]].
|-
|signs_distances_inner
|array<float>
|
|Array of same size as '''signs_cutscenes_inner''' defining distances of signs for the most inner lane (Should be same length as '''signs_distances_inner'''), where positive values will place signs before road event and negative will place it after. More info: [[Documentation/Engine/Random Road Events#Signage]].
|-
|parent
|link_ptr<link_ptr>
|NULL
|Road event parent, all non explicitly defined values are inherited from the parent.
|}
 
= Composition of the road event =
[[File:Engine random event composition.jpg|1024px|Layers in road event]]
91
edits

Navigation menu