Scripting/Server/Functions/BotAngle

Turns the bot / puts it somewhere else (this also sets the height of the plane it walks on).

Syntax

BotAngle(bot, degrees)
BotTeleport(bot, x, y, z)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "botangle" )
	{
		BotAngle( 0, 0 );
	}
}

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

Section: Bots - virtual players (v0.5-beta)

Categories: Server functions | Bots - virtual players (v0.5-beta)