SOS wrote: |
Yes, it can use the ball.
Just look in the source for the functions. |
Quote: |
Catid: i think it's because i use a different type of synchronization than Ctm Catid: Snrrrub was trying to get me to move to the Ctm sync clock, which i imagine would have fixed the bug Catid: but i lost interest |
Code: Show/Hide case EVENT_BallMove:
{ PBall *ball = (PBall*)event.p[0]; if(aftergoal) { sendPublic("Bot spwans"); sendPrivate(me, "*setship 3"); sendPublic("Bot gets warped"); String s; s = "*warpto "; s += ball->x; s += " "; s += ball->y; sendPrivate(me, s); aftergoal = false; } } break; |