Difference between revisions of "03A0"
Jump to navigation
Jump to search
(Created page with "{{Icon|3}} '''IS_CRANE_LIFTING_CAR''' <hr /> '''Description''' : Checks if a crane is lifting the specified vehicle '''Syntax''' : 03A0: car [''car handle''] picked...") |
|||
Line 1: | Line 1: | ||
− | {{Icon|3}} | + | {{OpCode |
− | + | | games = {{Icon|3}} | |
− | + | | command = IS_CRANE_LIFTING_CAR | |
− | + | | description = Checks if a [[crane]] is lifting the specified vehicle | |
− | + | | syntax1 = 03A0: car [''car handle''] picked_up_by_crane [''flt1''] [''flt2''] | |
− | + | | p1t = [''car handle''] | |
− | + | | p1d = The handle of the vehicle | |
− | + | | p2t = [''flt1''] | |
− | + | | p2d = X-coordinate of location of crane | |
− | + | | p3t = [''flt2''] | |
− | + | | p3d = Y-coordinate of location of crane | |
− | + | }} | |
− | |||
− | This opcode returns true | + | This conditional opcode returns true when a crane at the coordinates point is lifting the specified vehicle. Somewhat misleadingly, state 3 (moving upwards from pick up) of the crane is ignored; only states 2 (moving to destination) and 4 (moving downwards to drop off) are detected. The coordinates point does not need to be accurate but its distance from the crane must be within 100 units. |
== Keywords == | == Keywords == | ||
crane, lift, car, vehicle, picked, up | crane, lift, car, vehicle, picked, up | ||
− | |||
− |
Latest revision as of 05:42, 22 January 2016
- Description
- Checks if a crane is lifting the specified vehicle
- Syntax
- 03A0: car [car handle] picked_up_by_crane [flt1] [flt2]
- Parameter
- [car handle]
- The handle of the vehicle
- [flt1]
- X-coordinate of location of crane
- [flt2]
- Y-coordinate of location of crane
This conditional opcode returns true when a crane at the coordinates point is lifting the specified vehicle. Somewhat misleadingly, state 3 (moving upwards from pick up) of the crane is ignored; only states 2 (moving to destination) and 4 (moving downwards to drop off) are detected. The coordinates point does not need to be accurate but its distance from the crane must be within 100 units.
Keywords
crane, lift, car, vehicle, picked, up