GTAG - Modding - Opcode Database - 0382
Opcode Database
0382
| Description | Turns collision on or off for an object. When off, the object goes through walls, floors and other entities. |
|---|---|
| Parameters (v2) | 1) Object handle (Integer) (INT) 2) Boolean (1 or 0) (INT) |
| Games | |
| Category | Common, Object |
| Command Name (IV) | SET_OBJECT_COLLISION |
| San Andreas | |
| sascm.ini | 0382=2,set_object_collision %1d% enable %2d% |
| Example | 0382: set_object_collision 0@ enable 1 |
| Command Name | SET_OBJECT_COLLISION |
| Vice City | |
| sascm.ini | 0382=2,set_object %1d% collision_detection %2d% |
| Example | 0382: set_object $1824 collision_detection 0 |
| Command Name | SET_OBJECT_COLLISION |
| GTA III | |
| gtascm.ini | 0382=2,unknown_set_object %1d% collision_detection %2d% |
| Example | 0382: unknown_set_object $3095 collision_detection 0 |
| Command Name | SET_OBJECT_COLLISION |

