Main   Class List   Namespace List   Wiki

AIClient Class Reference
[AINetworking]

Simulated client driven by AI commands. More...

Inheritance diagram for AIClient:
Inheritance graph
[legend]

List of all members.

Public Attributes

string getAimLocation
 ai.getAimLocation();
string getLocation
 ai.getLocation();
string getMoveDestination
 ai.getMoveDestination();
int getTargetObject
 ai.getTargetObject();
void missionCycleCleanup
 ai.missionCycleCleanup();
void move
 ai.move();
void moveForward
 ai.moveForward();
void setAimLocation
 ai.setAimLocation( x y z );
void setMoveDestination
 ai.setMoveDestination( x y z );
void setMoveSpeed
 ai.setMoveSpeed( float );
void setTargetObject
 ai.setTargetObject( obj );
void stop
 ai.stop();

Detailed Description

Simulated client driven by AI commands.

This object is derived from the AIConnection class. It introduces its own Player object to solidify the purpose of this class: Simulated client connecting as a player

To get more specific, if you want a strong alternative to AIPlayer (and wish to make use of the AIConnection structure), consider AIClient. AIClient inherits from AIConnection, contains quite a bit of functionality you will find in AIPlayer, and has its own Player object.

Note:
This is a legacy class, which you are discouraged from using as it will most likely be deprecated in a future version. For now it has been left in for backwards compatibility with TGE and the old RTS Kit. Use AIPlayer instead.
See also:
AIPlayer, AIConnection

Member Data Documentation

ai.getAimLocation();

ai.getLocation();

ai.getMoveDestination();

ai.getTargetObject();

ai.missionCycleCleanup();

ai.move();

ai.moveForward();

ai.setAimLocation( x y z );

ai.setMoveDestination( x y z );

ai.setMoveSpeed( float );

ai.setTargetObject( obj );

ai.stop();



Copyright © GarageGames, LLC. All Rights Reserved.