Well,I am taking a break from the zombie script.
Meanwhile,I am learning multiplayer scripting.
Is there something like an example mission to demonstrate the fundamental scripting AND/OR complex scripting things in MP?
_man1=_this select 0;
_man2=_this select 1;
_man1 setVariable ["Arrived",FALSE];
_man1 domove getpos _man2;
waitUntil {_man1 distance _man2 < 15};
_man1 setVariable ["Arrived",TRUE];
if that variable's value transmitted globally to all clients?
Or is there any necessary thing to add?
(by the way,that's just an example)
I checked the OFPEC Multiplayer Mission Editing tutorial..
but I still quite not understand about it.
(maybe i don't have the required IQ to understand it
)
And another thing is
how can i keep a random value fixed over all client.
_randy=random 10
suppose _randy is 5.93,how do i make so that it's value is 5.93 in all clients?
Or is the question i am asking correct?
I am also having trouble determining what type of script/functions are to be executed by the Server and which by the clients.
Regards,
Haroon1992