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.
This commit is contained in:
Justin Clark-Casey (justincc)
2011-11-23 22:05:11 +00:00
parent 1126efdcd0
commit d145750e87
3 changed files with 77 additions and 1 deletions

View File

@@ -153,6 +153,9 @@ namespace pCampBot
if (behaviourSwitches.Contains("g"))
behaviours.Add(new GrabbingBehaviour());
if (behaviourSwitches.Contains("t"))
behaviours.Add(new TeleportBehaviour());
StartBot(this, behaviours, firstName, lastName, password, loginUri);
}
}