Difference between revisions of "022B"
Jump to navigation
Jump to search
(Add 022b) |
m (Add keywords) |
||
Line 30: | Line 30: | ||
022B: create_forbidden_for_peds_cube -942.5625 337.0 10.0 -953.5625 361.375 30.0 | 022B: create_forbidden_for_peds_cube -942.5625 337.0 10.0 -953.5625 361.375 30.0 | ||
}} | }} | ||
+ | |||
+ | == Keywords == | ||
+ | forbid, peds, lock, road |
Revision as of 15:30, 11 January 2019
Contents |
- Description
- Prevents pedestrians from spawning or traversing in an area
- Syntax
- 022b: switch_ped_roads_off [flt1] [flt2] [flt3] to [flt4] [flt5] [flt6]
- 022b: create_forbidden_for_peds_cube [flt1] [flt2] [flt3] [flt4] [flt5] [flt6]
- Parameter
- [flt1]
- Top Left X-Coordinate
- [flt2]
- Top Left Y-Coordinate
- [flt3]
- Top Left Z-Coordinate
- [flt4]
- Bottom Right X-Coordinate
- [flt5]
- Bottom Right Y-Coordinate
- [flt6]
- Bottom Right Z-Coordinate
- Native analog
- SWITCH_PED_ROADS_OFF
This opcode is used to temporarily disables nodes from the pedestrians path, which causes them to not spawn in these locations.
Example
This will prevent pedestrians from spawning in the Cochrane Dam area (the part where "The Exchange" takes place)
022B: create_forbidden_for_peds_cube -942.5625 337.0 10.0 -953.5625 361.375 30.0
Keywords
forbid, peds, lock, road