Avatar Position
Posted: 18 Jul 2011, 14:58
Is there no way to get the current position of the avatar from server-side code? We are creating a real-time RTS game and currently evaluating OpenSpace to use as the Isometric engine. This will be multi-player so we need to be able to control NPC Avatars from the server-side of things. But it doesn't look like it's possible to get the "current" position of any avatar from the server. When looking at the _os_px and _os_py user variables it seems they only contain the destination of the last movement request. Is there something I am missing? Do you have any suggestions to get around this limitation? We might be able to send the Player Avatar movements to the server whenever they change tiles, but this can't happen with the NPC's as they're home is on the server and not in a client.
Any help would be appreciated.
Thanks,
Chris
Any help would be appreciated.
Thanks,
Chris