Quote:
The first thing you will have to figure out is what functions/actions are being ran on the host/server and what is being ran on the client. From there life gets easier.
I could have started a new thread, but since you mention this, I've got some questions about it. I've looked at the code, but how exactly do you make sure a function only get's run on the client? I'm making a game on which there are only 2 player, the server and the client.
Basically it's a strategy game, so the only thing I'm doing is spawn two camera's. However the mouse code I'm using for selecting entities for both players, only works on the server for some reason.
How can I make sure it runs both on the server ánd the client? Should I use 'proc_client(my,mouse_function);'?
How to best set stuff like this up? Should I only start those functions upon a join event? Do these function then still run on the server?
(I'm probably asking before having looked into it good enough, sorry for that
)
Cheers
Last edited by PHeMoX; 10/28/06 17:26.