Difference between revisions of "03CE"
Jump to navigation
Jump to search
(Created page with "{{Icon|trilogy}} '''IS_CAR_STUCK''' <hr /> '''Description''' : Checks if the vehicle is stuck '''Syntax''' : 03CE: car [''car handle''] stuck '''Parameter''' : ''car handle'...") |
|||
Line 12: | Line 12: | ||
This opcode checks if the vehicle previously [[03CC|stored]] to the stuck cars array is stuck. It is true if the vehicle does not travel the required distance for a certain period of time. No matter who controls the vehicle - the AI or the player, or is there a driver at all. If the vehicle marked as stuck then travels enough distance to meet the requirements set with 03CC, the vehicle is no longer marked as stuck, and the opcode returns false. | This opcode checks if the vehicle previously [[03CC|stored]] to the stuck cars array is stuck. It is true if the vehicle does not travel the required distance for a certain period of time. No matter who controls the vehicle - the AI or the player, or is there a driver at all. If the vehicle marked as stuck then travels enough distance to meet the requirements set with 03CC, the vehicle is no longer marked as stuck, and the opcode returns false. | ||
+ | |||
+ | ==Keywords== | ||
+ | stuck, car, vehicle, check | ||
==See also== | ==See also== |
Latest revision as of 17:56, 26 June 2015
Description
- Checks if the vehicle is stuck
Syntax
- 03CE: car [car handle] stuck
Parameter
- car handle
- The handle of the vehicle
Native analog
This opcode checks if the vehicle previously stored to the stuck cars array is stuck. It is true if the vehicle does not travel the required distance for a certain period of time. No matter who controls the vehicle - the AI or the player, or is there a driver at all. If the vehicle marked as stuck then travels enough distance to meet the requirements set with 03CC, the vehicle is no longer marked as stuck, and the opcode returns false.
Keywords
stuck, car, vehicle, check