Changes

Jump to navigation Jump to search

Documentation/Engine/Units/journey events road event

1,508 bytes added, 15:44, 21 May 2018
no edit summary
|-
|remove_map_sign
|array<token>bool
|
|If true then remove conflicting signs (speed limits) on the map overlapping with the road event.
|-
|inner_lane_allowed
|bool
|false
|Is the road event allowed in the most inner lane?
|-
|center_lane_allowed
|bool
|false
|Is the road event allowed in some of the center lanes?
|-
|outer_lane_allowed
|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.
|-
|mirror_active
|bool
|false
|Should road event spawn in the opposite direction too? The opposite direction must fulfill all conditions of the road event. However '''mirror_cutscenes''' will be used in opposite direction instead of '''layer_cutscenes'''.
|-
|forward_allowed
|bool
|true
|Is the road event allowed in the forward direction (nodes[0] -> nodes[1])?
|-
|backward_allowed
|bool
|true
|Is the road event allowed in the backward direction (nodes[1] -> nodes[0])?
|-
|signs_cutscenes_outer
|array<journey_events_cutscene>
|
|Array of cutscenes for signs of the most outer lane.
|-
|signs_distances_outer
|array<float>
|
|Array of distances of signs for the most outer lane (Should be same length as '''signs_distances_outer''').
|-
|signs_cutscenes_inner
|array<journey_events_cutscene>
|
|Array of cutscenes for signs of the most inner lane.
|-
|signs_distances_inner
|array<float>
|
|Array of distances of signs for the most inner lane (Should be same length as '''signs_distances_inner''').
|-
|parent
|link_ptr<journey_events_road_event>
|NULL
|Road event parent, all non explicitly defined values are inherited from the parent.
|}

Navigation menu