Scripting/Client/Functions/Vector

Class with fields x y z. Accepted anywhere a position is required.

Syntax

Vector(x, y, z)

Arguments

Example

function onScriptLoad()
{
	local pos = player.Pos;
	Vector( pos.x, pos.y, pos.z );
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Utility

Categories: Client functions | Utility