Difference between revisions of "03ED"
Jump to navigation
Jump to search
(new discovery) |
(page updates) |
||
Line 1: | Line 1: | ||
{{OpCode | {{OpCode | ||
− | | | + | | games = {{Icon|t}} |
− | | description = | + | | command = SET_UPSIDEDOWN_CAR_NOT_DAMAGED |
− | | | + | | description = Sets the vehicle to not be damaged when upside down |
− | | | + | | syntax1 = 03ED: set_car [''car handle''] not_damaged_when_upside_down 1 |
− | | | + | | p1t = [''car handle''] |
+ | | p1d = The handle of the vehicle | ||
+ | | p2t = [''int''] | ||
+ | | p2d = 0 = default, {{hint|1|or any value other than 0}} = not damaged when upside down | ||
}} | }} | ||
− | This opcode | + | |
+ | This opcode sets the vehicle to not be damaged when upside down as long as the player is not in the vehicle — the vehicle must be empty or has NPC drivers. If the player stays in the car while flipped over, it will burn and explode like normal. | ||
+ | |||
+ | == Keywords == | ||
+ | set, car, vehicle, flip, flipped, upside, down, damaged |
Revision as of 07:37, 8 June 2016
SET_UPSIDEDOWN_CAR_NOT_DAMAGED
- Description
- Sets the vehicle to not be damaged when upside down
- Syntax
- 03ED: set_car [car handle] not_damaged_when_upside_down 1
- Parameter
- [car handle]
- The handle of the vehicle
- [int]
- 0 = default, 1 = not damaged when upside down
This opcode sets the vehicle to not be damaged when upside down as long as the player is not in the vehicle — the vehicle must be empty or has NPC drivers. If the player stays in the car while flipped over, it will burn and explode like normal.
Keywords
set, car, vehicle, flip, flipped, upside, down, damaged