Jump to content

Compact Editor Ouput


Recommended Posts

  • 3 weeks later...

edit :: 

 

seems it doesn't work with

 

bldObj = objNull;
if (true) then
{
  _bldObj = createVehicle ["MAP_t_picea1s", [2323.9529, 9643.5928, 0.00012207031], [], 0, "CAN_COLLIDE"];
  _bldObj = _bldObj;
  _bldObj setPos [2323.9529, 9643.5928, 0.00012207031];
 
 :(
Link to comment
Share on other sites

  • 2 weeks later...

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?

Link to comment
Share on other sites

any ideia why sometimes  it doesnt get values?

like this

 

compacted

  Reveal hidden contents

 

mission.sqf

  Reveal hidden contents

Link to comment
Share on other sites

  • 9 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...