Scripting/Client/Functions/SetCameraMatrix

Fixed scripted camera at position looking at lookAt. Both are Vectors/tables.

Syntax

SetCameraMatrix(position, lookAt)

Arguments

Example

function onScriptLoad()
{
	SetCameraMatrix( player.Pos, 0 );
}

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