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
- any bot
- any degrees
- float x
- float y
- float z
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.
Related pages
Section: Bots - virtual players (v0.5-beta)
Categories: Server functions | Bots - virtual players (v0.5-beta)