Multiple .sqf's

I was wondering im getting into scripting and ive added alot of scripts into our server but i've recently come across scripts which require a file i already have in another folder for example:



My compiles.sqf is required by a script to be in the custom/compiles.sqf



then another script will need it like this



.Recover_Skin/compiles.sqf



So I was wondering if having 2 compiles or fn_selfactions.sqfs in 2 different places be ok ?



Sorry for the inconvenience and thanks in advance
 

alexlawson

OpenDayZ Rockstar!
I was wondering im getting into scripting and ive added alot of scripts into our server but i've recently come across scripts which require a file i already have in another folder for example:



My compiles.sqf is required by a script to be in the custom/compiles.sqf



then another script will need it like this



.Recover_Skin/compiles.sqf



So I was wondering if having 2 compiles or fn_selfactions.sqfs in 2 different places be ok ?



Sorry for the inconvenience and thanks in advance
Depends on the file, best thing to do for compiles is to use the original and add to that saves having multiple files, and same for FN_selfactions.
 
To late sadly i tried to merge them into myslef now my server goes through all the loading screens counts up to 120 and times out. Do you knwo how to fix that ?
 

alexlawson

OpenDayZ Rockstar!
To late sadly i tried to merge them into myslef now my server goes through all the loading screens counts up to 120 and times out. Do you knwo how to fix that ?
Paste the files you merged ill see if I can help. (use insert code function)
 
Snap_Build
Refuel,Rearm,Repair
TraderSafeZones
I think WAI and DZI or something(Theres ai missions i didnt add them in)
and thats about it
*Removed*
TakeSkin
SelfBB
 
Im in a nice mood ill do it for ya.

I need to know

Mod/Version
We are running Overpoch :D
btw my RPT also says this
>
18:35:09 Error Undefined variable in expression: _vehicle
18:35:09 File z\addons\dayz_server\init\server_functions.sqf, line 249
18:35:09 Error in expression <imit = _random select 1;

_qty = {_x == _vehicle} count serverVehicleCounter;


>
18:35:09 Error position: <_vehicle} count serverVehicleCounter;


>
18:35:09 Error Undefined variable in expression: _vehicle
18:35:09 File z\addons\dayz_server\init\server_functions.sqf, line 249
18:35:09 Error in expression <imit = _random select 1;

_qty = {_x == _vehicle} count serverVehicleCounter;


>
18:35:09 Error position: <_vehicle} count serverVehicleCounter;


>
18:35:09 Error Undefined variable in expression: _vehicle
18:35:09 File z\addons\dayz_server\init\server_functions.sqf, line 249
 
Top