Jump to content

twirly

Member
  • Content Count

    1304
  • Joined

  • Last visited

  • Medals

Status Updates posted by twirly

  1. Hi mate... you may have already done this.. but if not make sure only the server is running the script like this.

    if (isServer) then {

    nul = [wsold1,"marker1","marker2",0.05,0.05] execVM "move_obj.sqf";

    };

    ..or at the top of the "move_object.sqf" script add...

    if (not isServer} exitwith {};

    This makes sure only the server runs the code.

    Also...you have to remember that since the server alone is running the code then each new position of the object you are moving is transmitted across the network. How many times a second this is transferred, the speed of your server, the bandwith available etc... will all come into play here.

    This will probably work better over a LAN than on the net.

    You can try changing the values for the timing and step and do some testing to see what works and what doesn't.

    I just did a little test on a dedicated server (on the same machine) and it seemed to work OK for me.

×