Bot Questions - removing / adding ball Doggeti - Fri Jun 13, 2003 6:37 am Post subject: removing / adding ball
How can i remove and add the ball like it is done in HZ when game begins or ends?
k0zy - Fri Jun 13, 2003 6:49 am Post subject:
sendPublic("?set Soccer:BallCount:0");
and
sendPublic("?set Soccer:BallCount:1");
but be carefull with removing a pb when a player is holding it... u would have to spec him first, i think
Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
Doggeti - Fri Jun 13, 2003 7:47 am Post subject:
Some how this doesn't work here. i set it to 0 but the ball was still there and as i scored i had about 30 goals more than before.
k0zy - Fri Jun 13, 2003 9:32 am Post subject:
It takes some time before the ball disapears.
And after the command is send, no1 should catch the ball, or it will never be removed.
Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
Anborn - Fri Jun 13, 2003 7:10 pm Post subject:
in hz, the bot uses the *restart command at the end of a period. thusly removing the puck/ball.
Doggeti - Sat Jun 14, 2003 2:10 am Post subject:
Ok, thx, that saved me a lot of time!
But how can i turn off the stats that the server displays after the game and after how much time will the ball come back?