20.11.2016, 10:46
(20.11.2016, 00:05)Mattwell Wrote: Bimbol/Sative, can you synchronise PlayAnimation function with coordinates of bot?
For example when my bot is running to kill me, server should know position x,y,z of bot at this moment.
I think that is the best idea to create fully movable bots.
That's pretty much what the "secret_gimmeBotPos"-function does (or did rather). You would pass it the id of a player and the id of a bot and it would then take the position the given bot has on the given client and synch it with the server. It doesn't seem to work anymore though.
It's defined in the module somewhere and is already called from G2O_CBot.nut::update(). There's no real need to look up the call though - it's broken, which is why the bots' positions aren't synchronized with dev8 even if you manually implement ticks.