0422
Revision as of 02:22, 22 June 2016 by Spaceeinstein (talk | contribs)
- Description
- Checks if the garage contains the vehicle
- Syntax
- 0422: garage_contain_car [garage handle] [car handle]
- Parameter
- [garage handle]
- The handle of the garage
- [car handle]
- The handle of the vehicle
This conditional opcode returns true if the vehicle is fully contained inside the garage. Note that wrecking the vehicle and leaving it inside the garage will eventually crash the game (it is not immediate).
Keywords
check, does, garage, contain, car, vehicle