Difference between revisions of "021B"

From GTAMods Wiki
Jump to navigation Jump to search
m
(page updates)
Line 1: Line 1:
{{Icon|trilogy}}
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
+
| command    = SET_TARGET_CAR_FOR_MISSION_GARAGE
'''Description'''
+
| description = Sets the [[garage]] to accept the specified vehicle
: Sets the garage to accept the specified vehicle
+
| syntax1    = 021B: set_garage [''garage handle''] to_accept_car [''car handle'']
'''Syntax'''
+
| p1t        = [''garage handle'']
: 021B: set_garage [''garage handle''] to_accept_car [''car handle'']
+
| p1d        = The [[Garage#List of Garages|handle of the garage]]
'''Parameter'''
+
| p2t        = [''car handle'']
: [''garage handle'']
+
| p2d        = The handle of the vehicle
:: The [[Garage#List of Garages|handle of the garage]]
+
}}
: [''car handle'']
 
:: The handle of the vehicle
 
  
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.
+
This opcode sets the garage to accept the specified vehicle. The effectiveness of this opcode depends on the [[Garage#Types of Garages|type of the garage]] and are noticeable for a few of them, with each of them behaving differently.
}}</onlyinclude>
 
  
{| {{prettytable}}
+
== GTA III ==
| style="text-align:left" | {{Icon|3}}
+
{| class="wikitable"
 +
! Type || Description
 
|-
 
|-
 
| style="vertical-align:top" | 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.
 
| style="vertical-align:top" | 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.
Line 27: Line 25:
 
|}
 
|}
  
{| {{prettytable}}
+
== Vice City ==
| style="text-align:left" | {{Icon|VC}}
+
{| class="wikitable"
 +
! Type || Description
 
|-
 
|-
 
| style="vertical-align:top" | 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.
 
| style="vertical-align:top" | 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.
Line 38: Line 37:
 
| style="vertical-align:top" | 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.
 
| style="vertical-align:top" | 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.
 
|}
 
|}
 
[[Category:OpCodes]]
 

Revision as of 15:24, 4 June 2016

GTA III Vice City San Andreas 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

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.

GTA III

Type Description
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
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.