Extends the functionality of the SLBot class To create bots that can receive commands from a user via instant messages and react to those commands. More...
Public Member Functions | |
ControlledSLBot (string inFirstName, string inLastName, string inPassword) | |
ControlledSLBot (string inFirstName, string inLastName, string inPassword, string inRegion, bool inTeleport) | |
void | ScriptedApproach (float x, float y, float z, float distance) |
Use this method for scripted walks instead of direct use of SmartApproach. | |
virtual void | PerformCommand (string inCommand, Avatar inAvatar) |
Given the string command perform the corresponding action. | |
Protected Member Functions | |
virtual void | ScriptedWalk () |
override void | AvatarLoadingFinished () |
do some initial position correction | |
override void | Self_IM (object sender, InstantMessageEventArgs ev) |
The callback for processing instant messages. | |
virtual void | RandomMode () |
virtual void | PrepareForAnimation () |
ensures that the agent is ready to play animations | |
Protected Attributes | |
bool | mStopAllScriptedWalks = false |
Extends the functionality of the SLBot class To create bots that can receive commands from a user via instant messages and react to those commands.
VIAgents.ControlledSLBot.ControlledSLBot | ( | string | inFirstName, | |
string | inLastName, | |||
string | inPassword | |||
) |
VIAgents.ControlledSLBot.ControlledSLBot | ( | string | inFirstName, | |
string | inLastName, | |||
string | inPassword, | |||
string | inRegion, | |||
bool | inTeleport | |||
) |
override void VIAgents.ControlledSLBot.AvatarLoadingFinished | ( | ) | [protected, virtual] |
do some initial position correction
Reimplemented from VIAgents.SLBot.
Reimplemented in VIAgents.InstitutionalAgent.
virtual void VIAgents.ControlledSLBot.PerformCommand | ( | string | inCommand, | |
Avatar | inAvatar | |||
) | [virtual] |
Given the string command perform the corresponding action.
Reimplemented in VIAgents.ControlledChatterBot.
virtual void VIAgents.ControlledSLBot.PrepareForAnimation | ( | ) | [protected, virtual] |
ensures that the agent is ready to play animations
virtual void VIAgents.ControlledSLBot.RandomMode | ( | ) | [protected, virtual] |
Switch the bot into the random mode When it randomly selects different behaviors and performs them until another command is received
void VIAgents.ControlledSLBot.ScriptedApproach | ( | float | x, | |
float | y, | |||
float | z, | |||
float | distance | |||
) |
Use this method for scripted walks instead of direct use of SmartApproach.
virtual void VIAgents.ControlledSLBot.ScriptedWalk | ( | ) | [protected, virtual] |
override void VIAgents.ControlledSLBot.Self_IM | ( | object | sender, | |
InstantMessageEventArgs | ev | |||
) | [protected, virtual] |
The callback for processing instant messages.
Reimplemented from VIAgents.SLBot.
Reimplemented in VIAgents.InstitutionalAgent.
bool VIAgents.ControlledSLBot.mStopAllScriptedWalks = false [protected] |