Scripts are not running correctly

Maddin

Well-Known Member
Hi,

i made a Mission and tryed to load it into DayZ. So i call the script in the Init and in the script itself is this:


PHP:
if (isServer) then {

_this = createCenter west;
_center_0 = _this;

[BUNCH OF CODE]

};

The main script itself works fine, but no other scripts are called. For Example if i call a script for Vehicle Repair i put in the Trigger:

PHP:
reps = [] execVM "repair.sqf"

Which works perfectly, when i Preview it in the Editor. But not when i add it to the Server even the it's in the same Location as the script it's been called from.
 
Delete
Code:
_this = createCenter west;
_center_0 = _this;
And any units/group things in the mission sqf
 
Delete
Code:
_this = createCenter west;
_center_0 = _this;
And any units/group things in the mission sqf


Why that? That's the main part ^^ and the Units are all scripted, they work absolutely fine. The whole main Script works fine, just not script's that are called from the main Script:

burn_flag_1.sqf
burn_flag_1.sqf
flag_annihilation.jpg
repair.sqf
spawn_veh_hive.sqf
squad_1_board.sqf
squad_2_board.sqf
squad_3_board.sqf
squad_1_unboard.sqf
squad_2_unboard.sqf
squad_3_unboard.sqf
zombiedelete.sqf

Appart from the calls everything i made is in and working as intended:
suZK7gD.jpg
 
Back
Top