Difference between revisions of "022B"
Jump to navigation
Jump to search
m (Add keywords) |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
| command = SWITCH_PED_ROADS_OFF | | command = SWITCH_PED_ROADS_OFF | ||
| description = Prevents pedestrians from spawning or traversing in an area | | description = Prevents pedestrians from spawning or traversing in an area | ||
− | | syntax1 = {{Icon|SA}} | + | | syntax1 = {{Icon|SA}} 022B: switch_ped_roads_off [''flt1''] [''flt2''] [''flt3''] to [''flt4''] [''flt5''] [''flt6''] |
− | | syntax2 = {{Icon|III}} {{Icon|VC}} | + | | syntax2 = {{Icon|III}} {{Icon|VC}} 022B: create_forbidden_for_peds_cube [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] |
| p1t = [''flt1''] | | p1t = [''flt1''] | ||
| p1d = Top Left X-Coordinate | | p1d = Top Left X-Coordinate |
Latest revision as of 16:21, 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