Im working on k2k2, wich is a multi-player game. I want all the packages to be send and received by one object, the 'multi-player controller'.
Other objects, like the player, should send a message to the 'multi-player controller' when it needs to send data (position or anything).
There's the problem. How do objects communicate with each other? I could change the value of a variable wich is readed out by the multiplayer controller every step, but thats an ugly way.
I found the generating event functions, but it seems i cant generate the user devined events by an other object
this code does not work:
CODE
event_perform_object(obj_mpcontroller,ev_user0,0)
So how should i change this to make it work? Or is there some better way to do this. Im wondering how you let your object communicate with each other.
Thx in advance,
Jordin
