Difference between revisions of "054A"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
}} | }} | ||
− | This opcode sets whether the char can be shot in a vehicle. In vice city, the | + | This opcode sets whether the char can be shot in a vehicle. In vice city, the character will not be knocked down by shotgun (Still takes damage) when this opcode is used on that character and is set to 0. |
== Keywords == | == Keywords == | ||
shoot, vehicle, shotgun, knockdown | shoot, vehicle, shotgun, knockdown |
Latest revision as of 06:23, 20 November 2024
SET_CHAR_CAN_BE_SHOT_IN_VEHICLE
- Description
- Makes the character immune to a damage while in a vehicle
- Syntax
- 054A: set_actor [char handle] can_be_shot_in_a_car [int]
- Parameter
- [char handle]
- The handle of the character
- [int]
- 0 = can't be damaged, 1 = can be damaged
This opcode sets whether the char can be shot in a vehicle. In vice city, the character will not be knocked down by shotgun (Still takes damage) when this opcode is used on that character and is set to 0.
Keywords
shoot, vehicle, shotgun, knockdown