wow, thank you very much! Will try this.
I have only few questions still remaining regarding "fnc_handleUnit.sqf".
I have three factions in my mission with a Zeus module for each side named:
"z_west", "z_east" and "z_guer"
so how do I need edit the "fnc_handleUnit.sqf" script that it does handle all three factions?
what I did try to script myself so far is follow:
description.ext
#define QUOTE(var1) #var1
class Extended_Init_EventHandlers {
class CAManBase {
serverInit = QUOTE(_this call compile preprocessFileLineNumbers 'fnc_handleUnitWest.sqf,fnc_handleUnitEast.sqf,fnc_handleUnitGuer.sqf');
};
};
fnc_handleUnitWest.sqf
params [["_unit",objNull]];
if (side _unit == EAST) then {
z_west removeCuratorEditableObjects [[_unit],true];
};
if (side _unit == RESISTANCE) then {
z_west removeCuratorEditableObjects [[_unit],true];
};
fnc_handleUnitEast.sqf
params [["_unit",objNull]];
if (side _unit == WEST) then {
z_east removeCuratorEditableObjects [[_unit],true];
};
if (side _unit == RESISTANCE) then {
z_east removeCuratorEditableObjects [[_unit],true];
};
fnc_handleUnitGuer.sqf
params [["_unit",objNull]];
if (side _unit == WEST) then {
z_guer removeCuratorEditableObjects [[_unit],true];
};
if (side _unit == EAST) then {
z_guer removeCuratorEditableObjects [[_unit],true];
};
could you have a look at this and tell me if I scripted bullshit
and if answer is yes, correct what I did wrong?
had no time to test what I scripted...
thanks in advance
maquez [Q-Net]