Difference between revisions of "01EE"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Icon|3}} '''ACTIVATE_CRANE'''
+
{{OpCode
<hr />
+
| games      = {{Icon|3}}
'''Description'''
+
| command    = ACTIVATE_CRANE
: Activates a [[crane]]
+
| description = Activates a [[crane]]
'''Syntax'''
+
| syntax1    = 01EE: activate_crane [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] [''flt7''] [''flt8''] [''flt9''] [''flt10'']
: 01EE: activate_crane [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] [''flt7''] [''flt8''] [''flt9''] [''flt10'']
+
| p1t        = [''flt1'']
'''Parameter'''
+
| p1d        = X-coordinate of location of crane
: [''flt1'']
+
| p2t        = [''flt2'']
:: X-coordinate of location of crane
+
| p2d        = Y-coordinate of location of crane
: [''flt2'']
+
| p3t        = [''flt3'']
:: Y-coordinate of location of crane
+
| p3d        = X-coordinate of one corner of pick up zone
: [''flt3'']
+
| p4t        = [''flt4'']
:: X-coordinate of one corner of pickup zone
+
| p4d        = Y-coordinate of one corner of pick up zone
: [''flt4'']
+
| p5t        = [''flt5'']
:: Y-coordinate of one corner of pickup zone
+
| p5d        = X-coordinate of other corner of pick up zone
: [''flt5'']
+
| p6t        = [''flt6'']
:: X-coordinate of other corner of pickup zone
+
| p6d        = Y-coordinate of other corner of pick up zone
: [''flt6'']
+
| p7t        = [''flt7'']
:: Y-coordinate of other corner of pickup zone
+
| p7d        = X-coordinate of drop off point
: [''flt7'']
+
| p8t        = [''flt8'']
:: X-coordinate of drop off point
+
| p8d        = Y-coordinate of drop off point
: [''flt8'']
+
| p9t        = [''flt9'']
:: Y-coordinate of drop off point
+
| p9d        = Z-coordinate of drop off point
: [''flt9'']
+
| p10t        = [''flt10'']
:: Z-coordinate of drop off point
+
| p10d        = [[Heading]] of drop off point in degrees
: [''flt10'']
+
}}
:: [[Heading]] of drop off point in degrees
 
  
This opcode grabs and activates a crane that can lift any car within the pickup zone and move it to the drop off point. The crane's arm will rotate towards the center point of the pick up zone. If the crane has a magnet, it is lowered towards the same point and can be used to pick up the car. The car must be stationary for the crane's hook to attach to the car. When the car gets attached to the crane's hook whether it is a magnet or not, it becomes non-solid. At the drop off point, the car is released and becomes solid again. If you stand underneath the drop off point, the crane will not drop off the car until you move away. If the car becomes destroyed while in transit (but not before), the crane will still continue moving it. The crane moves back to its initial state afterwards and can be reused again.
+
This opcode grabs and activates a crane that can lift any car within the pickup zone and move it to the drop off point. The crane's arm will rotate towards the center point of the pick up zone. The height of the pick up zone is set at the [[02CE|ground z]] of the center of the pick up zone. If the crane has a magnet, the magnet is moved appropriately for that height. The car must be stationary for the crane's hook to attach to the car. When the car gets attached to the crane's hook whether it is a magnet or not, it becomes non-solid. At the drop off point, the car is released and becomes solid again. If you stand underneath the drop off point, the crane will not drop off the car until you move away. If the car becomes destroyed while in transit (but not before), the crane will still continue moving it. The crane moves back to its initial state afterwards and can be reused again.
  
 
== Keywords ==
 
== Keywords ==
Line 33: Line 32:
  
 
== See also ==
 
== See also ==
* [[02FB]], activate crusher crane
+
* {{Icon|3}} [[02FB]], activate crusher crane
* [[0368]], activate military crane
+
* {{Icon|3}} [[0368]], activate military crane
 
 
[[Category:OpCodes]]
 

Revision as of 15:42, 27 June 2016

GTA III ACTIVATE_CRANE


Description
Activates a crane
Syntax
01EE: activate_crane [flt1] [flt2] [flt3] [flt4] [flt5] [flt6] [flt7] [flt8] [flt9] [flt10]
Parameter
[flt1]
X-coordinate of location of crane
[flt2]
Y-coordinate of location of crane
[flt3]
X-coordinate of one corner of pick up zone
[flt4]
Y-coordinate of one corner of pick up zone
[flt5]
X-coordinate of other corner of pick up zone
[flt6]
Y-coordinate of other corner of pick up zone
[flt7]
X-coordinate of drop off point
[flt8]
Y-coordinate of drop off point
[flt9]
Z-coordinate of drop off point
[flt10]
Heading of drop off point in degrees

This opcode grabs and activates a crane that can lift any car within the pickup zone and move it to the drop off point. The crane's arm will rotate towards the center point of the pick up zone. The height of the pick up zone is set at the ground z of the center of the pick up zone. If the crane has a magnet, the magnet is moved appropriately for that height. The car must be stationary for the crane's hook to attach to the car. When the car gets attached to the crane's hook whether it is a magnet or not, it becomes non-solid. At the drop off point, the car is released and becomes solid again. If you stand underneath the drop off point, the crane will not drop off the car until you move away. If the car becomes destroyed while in transit (but not before), the crane will still continue moving it. The crane moves back to its initial state afterwards and can be reused again.

Keywords

activate, crane

See also

  • GTA III 02FB, activate crusher crane
  • GTA III 0368, activate military crane