1531
Suggestions & Requests / Re: a C1-30 would also be good
« on: May 16, 2009, 03:11:07 PM »
XD I once said that on a server.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I am trying to create a function that every 5 seconds or so, a bot will randomly move usingYou would schedule this in it I think:Code: [Select]function AIPlayer::moverand(%a)
{
%a.schedule(5000,randomMove);
}
function AIPlayer::moverand(%a)
{
%a.schedule(time,moverand);
%a.schedule(5000,randomMove);
}