- Gets the height of the ground beneath the coordinates point
- 02CE: [var] = ground_z [flt1] [flt2] [flt3]
- Variable to store the height of the ground, a floating-point value
- Native analog
This opcode gets the height in the z-axis of the ground below the specified coordinates point. There is a ground if there is a collision loaded beneath the point. If there is no solid ground below the point, the height would return 0.0. For Vice City and San Andreas, if you want to guarantee that the collision at the point is loaded, use opcode 04E4 followed by 038B to force the loading of the collision and then immediately retrieve the ground z.
get, store, ground, height