Jump to content

Buck0

Member
  • Posts

    521
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Buck0

  1. if i wanted to move some stuff out of server files to reduce load, how would i go about doing this?

     

    would it be fine to call it in the mission file as described above?

     

    {
        _object = (_x select 0) createVehicleLocal (_x select 1);
        _object setDir (_x select 2);
        _object setPos (_x select 1);
        _object allowDamage false;
        _object enableSimulation false;
    } count _objects;

     

    but would i need to have something like

     

    if (hasInterface) then {

    execVM "script1.sqf";

    execVM "script2.sqf";

    execVM "script3.sqf";

    };

     

    or would be

     

    if (!isDedicated) then {

    };

     

    be better? what is the difference between the two?

     

    that way it would be created on the players machine reducing server load?

×
×
  • Create New...