Jump to content
Sign in to follow this  
dimdic

questions concerning a multiplayer senario !!

Recommended Posts

To be more accurate.. i created a multiplayer senario and when i tested with my friends i found out several problems. So i need your help concerning the following:

1)Commands that are executed in a trigger "On Activation" field, are executed on all machines !! I DON'T WANT THIS TO HAPPEN !!! I want them to be executed only once!!

2)I have created an introduction with a moving camera in the beginning of the senario and only the one who is the server can see that.

Does anybody know how to solve these problems ???

Are there any other basic things that i should know before or after creating a multiplayer senario ? Or any problems that i am going to face and i haven't spotted them yet??

Thank you.

Share this post


Link to post
Share on other sites

1) Use

if(!isServer) exitWith {};

this will exit activation script if player is not server and will execute it on server only

The main thing that you should know is Multiplayer Locality, always check if certain command executes only on one machine or all clients before using it and adjust your scripts accordingly.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×