aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/BotManager.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-23 22:05:11 +0000
committerJustin Clark-Casey (justincc)2011-11-23 22:05:11 +0000
commitd145750e878c75e7d7a78eb9ef8dddaab81cc159 (patch)
tree780ab8b84e743e599b67bd5298ce3c63e0f95a1f /OpenSim/Tools/pCampBot/BotManager.cs
parentIn pCampbot, change "show status" command to "show bots" (diff)
downloadopensim-SC_OLD-d145750e878c75e7d7a78eb9ef8dddaab81cc159.zip
opensim-SC_OLD-d145750e878c75e7d7a78eb9ef8dddaab81cc159.tar.gz
opensim-SC_OLD-d145750e878c75e7d7a78eb9ef8dddaab81cc159.tar.bz2
opensim-SC_OLD-d145750e878c75e7d7a78eb9ef8dddaab81cc159.tar.xz
Add teleport behaviour to pCampBot
This teleports the bot to any other regions +/- 5 on the x or y axis. Quite aggressive at the moment since teleports keep occuring at a 1-10secs random interval. No checking yet to see if teleport was successful.
Diffstat (limited to '')
-rw-r--r--OpenSim/Tools/pCampBot/BotManager.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs
index 836d3f7..c67b3e4 100644
--- a/OpenSim/Tools/pCampBot/BotManager.cs
+++ b/OpenSim/Tools/pCampBot/BotManager.cs
@@ -153,6 +153,9 @@ namespace pCampBot
153 if (behaviourSwitches.Contains("g")) 153 if (behaviourSwitches.Contains("g"))
154 behaviours.Add(new GrabbingBehaviour()); 154 behaviours.Add(new GrabbingBehaviour());
155 155
156 if (behaviourSwitches.Contains("t"))
157 behaviours.Add(new TeleportBehaviour());
158
156 StartBot(this, behaviours, firstName, lastName, password, loginUri); 159 StartBot(this, behaviours, firstName, lastName, password, loginUri);
157 } 160 }
158 } 161 }