Difference between revisions of "01EE"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|3}} '''ACTIVATE_CRANE''' <hr /> '''Description''' : Activates a crane '''Syntax''' : 01EE: activate_crane [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''...")
 
m
 
(3 intermediate revisions by the same user not shown)
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
: [''flt1'']
+
| p2t        = [''flt2'']
:: X-coordinate of location of crane
+
| p2d        = Y-coordinate of location
: [''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 lower left corner of pickup zone
+
| p4d        = Y-coordinate of one corner of pick up zone
: [''flt4'']
+
| p5t        = [''flt5'']
:: Y-coordinate of lower left corner of pickup zone
+
| p5d        = X-coordinate of other corner of pick up zone
: [''flt5'']
+
| p6t        = [''flt6'']
:: X-coordinate of upper right corner of pickup zone
+
| p6d        = Y-coordinate of other corner of pick up zone
: [''flt6'']
+
| p7t        = [''flt7'']
:: Y-coordinate of upper right 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 activates a crane that can pick up any car within the pickup zone and move it to the drop off point. If the crane has a magnet, it is lowered towards the center point of the pick up zone and can be used to pick up 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. The crane moves back to its initial state afterwards and can be reused again.
+
This opcode grabs and activates a crane within 100.0 units of the specified location. The crane can lift any car within the pick up 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]], activates a crusher crane
* [[0368]], activate military crane
+
* {{Icon|3}} [[0368]], activates a military crane
 
 
[[Category:OpCodes]]
 

Latest revision as of 06:57, 29 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
[flt2]
Y-coordinate of location
[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 within 100.0 units of the specified location. The crane can lift any car within the pick up 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, activates a crusher crane
  • GTA III 0368, activates a military crane