021B
Jump to navigation
Jump to search
SET_TARGET_CAR_FOR_MISSION_GARAGE
- Description
- Sets the garage to accept the specified vehicle
- Syntax
- 021B: set_garage [garage handle] to_accept_car [car handle]
- Parameter
- [garage handle]
- The handle of the garage
- [car handle]
- The handle of the vehicle, or -1 for none
This opcode sets the garage to accept the specified vehicle. The effectiveness of this opcode depends on the type of the garage and are noticeable for a few of them, with each of them behaving differently. For garage types 1, 14, and 21, the vehicle is considered dropped off if the vehicle is in the garage and the garage door closed itself.
GTA III
Type | Description |
---|---|
1 | The garage will open for your car. When the car is inside and you walk outside, the garage door will close and the car will disappear. |
7 | The garage won't open for your car so you have to force it open. Once inside you can leave your car in it and walk out. You will be frozen as the door closes. After the door closes, you are rewarded with $3. The car will disappear in the garage. |
14 | The garage will open for you car with a large radius of acceptance. Once stopped inside, the garage door will close and the player will be frozen. After a moment, the door will reopen. Driving away from the garage will close the garage and the garage will no longer accept the car. |
20 | The garage will open for your car but it won't close by itself as long as the car is in the garage. |
21 | The garage will open for you car. Once stopped inside, the garage door will close and the player will be frozen. After a moment, you are unfrozen but the garage door remains closed. The garage won't accept your car again if you manage to get it out and attempt to drive back in. |
Vice City
Type | Description |
---|---|
1 | The garage will open for your car. When the car is inside and you walk outside, the garage door will close and the car will disappear. |
14 | The garage will open for your car. Once inside you will be frozen until the door closes. After a short time it opens back up. Right after the door finishes opening, it will immediately close itself again and stays closed. It won't accept your car again if you manage to get it out and attempt to drive back in. |
20 | The garage will open for your car but it won't close by itself as long as the car is in the garage. |
21 | The garage will open for your car. Once inside you will be frozen until the door closes. The door stays closed. It won't accept your car again if you manage to get it out and attempt to drive back in. |
23 | The garage won't open for your car so you have to force it open. Once inside you can leave your car in it and walk out. You will be frozen as the door closes. It will accept your car again if you manage to get it out and attempt to drive back in. |
Keywords
set, target, car, vehicle, accept, mission, garage