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.

Section: Screen, world and camera

Categories: Client functions | Screen, world and camera