Jump to content
  • 0

Higher the range of plot poles?


ExXoTicC

Question

3 answers to this question

Recommended Posts

  • 0

where would i place this script to make it work?

 

I would create a folder called "fixes" inside your mission file and then put a compiles.sqf file in there.

 

Copy the player_build.sqf file from above into the "fixes" folder.

 

 

Insert this into the compiles.sqf

if (!isDedicated) then {
player_build = compile preprocessFileLineNumbers "fixes\player_build.sqf";
};

in init.sqf look for this:

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions

and make a new line and insert this below

call compile preprocessFileLineNumbers "fixes\compiles.sqf"; //Compile custom  functions

Now, any time you want to make a change to the scripts inside of the clientside code (@dayz_epoch), just copy the file over into the "fixes" directory and add a reference to it in your "fixes/compiles.sqf".

 

Be careful with what you change, I highly recommend checking out the aram2 scripting library for reference on methods and datatypes you are unfamiliar with.  It has a TON of cool stuff in there.

 

http://www.arma2.com/comref/comref.html

http://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA2

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...