Difference between revisions of "01EE"
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
| syntax1 = 01EE: activate_crane [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] [''flt7''] [''flt8''] [''flt9''] [''flt10''] | | syntax1 = 01EE: activate_crane [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] [''flt7''] [''flt8''] [''flt9''] [''flt10''] | ||
| p1t = [''flt1''] | | p1t = [''flt1''] | ||
− | | p1d = X-coordinate of location | + | | p1d = X-coordinate of location |
| p2t = [''flt2''] | | p2t = [''flt2''] | ||
− | | p2d = Y-coordinate of location | + | | p2d = Y-coordinate of location |
| p3t = [''flt3''] | | p3t = [''flt3''] | ||
| p3d = X-coordinate of one corner of pick up zone | | p3d = X-coordinate of one corner of pick up zone | ||
Line 26: | Line 26: | ||
}} | }} | ||
− | This opcode grabs and activates a crane | + | 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 32: | Line 32: | ||
== See also == | == See also == | ||
− | * {{Icon|3}} [[02FB]], | + | * {{Icon|3}} [[02FB]], activates a crusher crane |
− | * {{Icon|3}} [[0368]], | + | * {{Icon|3}} [[0368]], activates a military crane |
Latest revision as of 06:57, 29 June 2016
- 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