Scripting/Client/Functions/GetGroundZLevel
Ground height under the local player.
Syntax
GetGroundZLevel()Returns
float
Example
function onScriptLoad()
{
local result = GetGroundZLevel();
MessagePlayer( "GetGroundZLevel returned: " + result, player );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- GetScreenWidth
- WorldPosToScreen
- ScreenPosToWorld
- GetGroundZLevelForPos
- GetGroundZLevelForPosLoad
- Draw3DText
- Draw3DSprite
- Draw3DTextWorld
- Draw3DSpriteWorld
- SetCameraMatrix
- SetCameraTarget
- RestoreCamera
Section: Screen, world and camera
Categories: Client functions | Screen, world and camera