02CE
Jump to navigation
Jump to search
Description
- Gets the height of the ground beneath the coordinates point
Syntax
- 02CE: [var] = ground_z [flt1] [flt2] [flt3]
Parameter
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate
- [var]
- Variable to store the height of the ground as a floating-point value
Native analog
This opcode can store the height in the Z-axis of the ground below the specific coordinates point. There can only be a ground if there is a collision beneath the point. If there is no solid ground below the point, the height would be stored as 0.
Keywords
get, store, ground, height