UTRemoteBot::BotCommands Class Reference

List of all members.

Public Member Functions

void Shoot (UTVector location, bool useAltFire)
 Command your bot to shoot at a specific location.
void Shoot (UTVector location, string targetID, bool useAltFire)
 Command your bot to shoot at a specific location and target If you specify a valid botID as the target, and it is visible to you, the server will provide aim correction and target leading for you, making shots at the target bot more accurate.
void Shoot (UTObject targetObject, bool useAltFire)
 Command your bot to shoot at a specific object If you specify a valid Bot as the target object, and it is visible to you, the server will provide aim correction and target leading for you, making shots at the target bot more accurate.
void RunTo (string targetID)
 Command your bot to automatically turn towards and move directly to the destination.
void RunTo (UTVector location)
 Command your bot to automatically turn towards and move directly to the destination.
void RunTo (UTObject toObject)
 Command your bot to automatically turn towards and move directly to the destination.
void StrafeTo (UTVector location, string targetID)
 Command your bot to move towards a destination while facing another object.
void StrafeTo (UTVector location, UTVector targetAt)
 Command your bot to move towards a destination while facing another point.
void StrafeTo (UTObject locationObject, UTObject targetObject)
 Command your bot to move towards a destination while facing another object.
void StopMovement ()
 Command your bot to stop moving.
void StopShooting ()
 Command your bot to stop shooting.
void RotateBy (int degrees)
 Command your bot to turn a specified amount.
void RotateTo (string targetID)
 Command your bot to turn to face a specified object.
void RotateTo (int degrees)
 Command your bot to turn to face a specified angle.
void RotateTo (UTVector location)
 Command your bot to turn to face a specified location.
void RotateTo (UTObject toObject)
 Command your bot to turn to face a specified location.
void ChangeWeapon ()
 Command your bot to change to its most powerful weapon.
void ChangeWeapon (WeaponType type)
 Command your bot to change to a specific weapon The weapon will be changed if you have this weapon in your inventory and it has ammo left.
void Jump ()
 Command your bot to jump.
void SendChatMessage (string message)
 Send a chat message to the server.
void PerformVictoryDance ()
 Just killed someone? Why not taunt them with some fetching pelvic thrusts!
void SetWalk (bool useWalkSpeed)
 Set whether you are walking or running (default is run). Walking means you move at about 1/3 normal speed, make less noise, and won't fall off ledges.
void GetPathTo (string requestID, UTVector toLocation)
 Get a path to a specified location. An ordered list of path nodes will be returned to you via the virtual ReceivedPath() method that you should override.
void GetPathTo (string requestID, UTObject toObject)
 Get a path to a specified object. An ordered list of path nodes will be returned to you via the virtual ReceivedPath() method that you should override.
void GetPathTo (string requestID, string targetID)
 Get a path to a specified object. An ordered list of path nodes will be returned to you via the virtual ReceivedPath() method that you should override.

Private Member Functions

internal BotCommands (UTConnection gameCommunicator, UTMap map, UTBotSelfState theBot)

Private Attributes

UTConnection gameCommunicator
UTMap map
UTBotSelfState theBot

Constructor & Destructor Documentation

internal UTRemoteBot::BotCommands::BotCommands UTConnection  gameCommunicator,
UTMap  map,
UTBotSelfState  theBot
[inline, private]
 


Member Function Documentation

void UTRemoteBot::BotCommands::ChangeWeapon WeaponType  type  )  [inline]
 

Command your bot to change to a specific weapon The weapon will be changed if you have this weapon in your inventory and it has ammo left.

Parameters:
type The WeaponType you want to switch to

void UTRemoteBot::BotCommands::ChangeWeapon  )  [inline]
 

Command your bot to change to its most powerful weapon.

void UTRemoteBot::BotCommands::GetPathTo string  requestID,
string  targetID
[inline]
 

Get a path to a specified object. An ordered list of path nodes will be returned to you via the virtual ReceivedPath() method that you should override.

Parameters:
requestID A message ID made up by you and echoed in respose so you can match up response with query
targetID The ID of the object you want to go to

void UTRemoteBot::BotCommands::GetPathTo string  requestID,
UTObject  toObject
[inline]
 

Get a path to a specified object. An ordered list of path nodes will be returned to you via the virtual ReceivedPath() method that you should override.

Parameters:
requestID A message ID made up by you and echoed in respose so you can match up response with query
toObject The object you would like to go to

void UTRemoteBot::BotCommands::GetPathTo string  requestID,
UTVector  toLocation
[inline]
 

Get a path to a specified location. An ordered list of path nodes will be returned to you via the virtual ReceivedPath() method that you should override.

Parameters:
requestID A message ID made up by you and echoed in respose so you can match up response with query
toLocation The location you would like to go to

void UTRemoteBot::BotCommands::Jump  )  [inline]
 

Command your bot to jump.

void UTRemoteBot::BotCommands::PerformVictoryDance  )  [inline]
 

Just killed someone? Why not taunt them with some fetching pelvic thrusts!

void UTRemoteBot::BotCommands::RotateBy int  degrees  )  [inline]
 

Command your bot to turn a specified amount.

Parameters:
degrees The number of degrees your want to turn from where you are facing at the moment

void UTRemoteBot::BotCommands::RotateTo UTObject  toObject  )  [inline]
 

Command your bot to turn to face a specified location.

Parameters:
toObject The object you want to turn to face

void UTRemoteBot::BotCommands::RotateTo UTVector  location  )  [inline]
 

Command your bot to turn to face a specified location.

Parameters:
location The location you want to turn to face

void UTRemoteBot::BotCommands::RotateTo int  degrees  )  [inline]
 

Command your bot to turn to face a specified angle.

Parameters:
degrees The angle you want to turn to

void UTRemoteBot::BotCommands::RotateTo string  targetID  )  [inline]
 

Command your bot to turn to face a specified object.

Parameters:
targetID The ID of the object you want to turn to

void UTRemoteBot::BotCommands::RunTo UTObject  toObject  )  [inline]
 

Command your bot to automatically turn towards and move directly to the destination.

Parameters:
toObject The UTObject that you want to move to

void UTRemoteBot::BotCommands::RunTo UTVector  location  )  [inline]
 

Command your bot to automatically turn towards and move directly to the destination.

Parameters:
location The location that you want to move to

void UTRemoteBot::BotCommands::RunTo string  targetID  )  [inline]
 

Command your bot to automatically turn towards and move directly to the destination.

Parameters:
targetID The ID of the target you want to go to (The object must be visible to you when the command is recieved or your bot will do nothing.)

void UTRemoteBot::BotCommands::SendChatMessage string  message  )  [inline]
 

Send a chat message to the server.

Parameters:
message The message you want to send

void UTRemoteBot::BotCommands::SetWalk bool  useWalkSpeed  )  [inline]
 

Set whether you are walking or running (default is run). Walking means you move at about 1/3 normal speed, make less noise, and won't fall off ledges.

Parameters:
useWalkSpeed Send True to go into walk mode or False to go into run mode

void UTRemoteBot::BotCommands::Shoot UTObject  targetObject,
bool  useAltFire
[inline]
 

Command your bot to shoot at a specific object If you specify a valid Bot as the target object, and it is visible to you, the server will provide aim correction and target leading for you, making shots at the target bot more accurate.

Parameters:
targetObject The UTObject you want to fire at
useAltFire True if you want to use the Alt Fire of your current gun instead of its primary fire

void UTRemoteBot::BotCommands::Shoot UTVector  location,
string  targetID,
bool  useAltFire
[inline]
 

Command your bot to shoot at a specific location and target If you specify a valid botID as the target, and it is visible to you, the server will provide aim correction and target leading for you, making shots at the target bot more accurate.

Parameters:
location The location of your target
targetID The ID of your target (must be a valid ID)
useAltFire True if you want to use the Alt Fire of your current gun instead of its primary fire

void UTRemoteBot::BotCommands::Shoot UTVector  location,
bool  useAltFire
[inline]
 

Command your bot to shoot at a specific location.

Parameters:
location The location to fire at
useAltFire True if you want to use the Alt Fire of your current gun instead of its primary fire

void UTRemoteBot::BotCommands::StopMovement  )  [inline]
 

Command your bot to stop moving.

void UTRemoteBot::BotCommands::StopShooting  )  [inline]
 

Command your bot to stop shooting.

void UTRemoteBot::BotCommands::StrafeTo UTObject  locationObject,
UTObject  targetObject
[inline]
 

Command your bot to move towards a destination while facing another object.

Parameters:
locationObject The object you want to move towards
targetObject The object you want to face while moving

void UTRemoteBot::BotCommands::StrafeTo UTVector  location,
UTVector  targetAt
[inline]
 

Command your bot to move towards a destination while facing another point.

Parameters:
location The location that you want to move to
targetAt The location of the point that you want to face while moving

void UTRemoteBot::BotCommands::StrafeTo UTVector  location,
string  targetID
[inline]
 

Command your bot to move towards a destination while facing another object.

Parameters:
location The location that you want to move to
targetID The ID of the object you want to face while moving


Member Data Documentation

UTConnection UTRemoteBot::BotCommands::gameCommunicator [private]
 

UTMap UTRemoteBot::BotCommands::map [private]
 

UTBotSelfState UTRemoteBot::BotCommands::theBot [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Jan 26 09:12:40 2006 for UTUserBot by  doxygen 1.4.6-NO