Skip to content

Commit

Permalink
Merge pull request #540 from Vdauphin/Add-ACE_cargo
Browse files Browse the repository at this point in the history
Add: ACE cargo
  • Loading branch information
Vdauphin authored Jun 7, 2018
2 parents 2b0e336 + 4ca547c commit 49c2b62
Show file tree
Hide file tree
Showing 27 changed files with 625 additions and 581 deletions.
29 changes: 5 additions & 24 deletions =BTC=co@30_Hearts_and_Minds.Altis/core/def/mission.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,6 @@ if (isServer) then {
//FOB
btc_fobs = [[], []];

//Log
btc_log_id_repo = 10;
btc_log_cargo_repo = "Land_HBarrierBig_F" createVehicle [- 5000, - 5000, 0];

//Patrol
btc_patrol_max = 8;
btc_patrol_active = [];
Expand Down Expand Up @@ -355,7 +351,6 @@ if (isServer) then {
};

private _c_array = btc_construction_array select 1;
btc_log_def_draggable = (_c_array select 1) + (_c_array select 2);
btc_log_def_loadable = (_c_array select 0) + (_c_array select 1) + (_c_array select 2) + (_c_array select 3) + (_c_array select 4) + (_c_array select 5) + (_c_array select 6) + ["ace_rearm_defaultCarriedObject", "ace_rearm_Bo_Mk82", "ace_rearm_Bomb_04_F", "ace_rearm_Bo_GBU12_LGB", "ace_rearm_Bomb_03_F", "ace_rearm_Missile_AA_03_F", "ace_rearm_Missile_AGM_02_F", "ace_rearm_Missile_AGM_01_F", "ace_rearm_Rocket_03_AP_F", "ace_rearm_R_80mm_HE", "ace_rearm_R_60mm_HE", "ace_rearm_Rocket_04_HE_F", "ace_rearm_R_Hydra_HE", "ace_rearm_Missile_AA_04_F", "ace_rearm_M_PG_AT", "ace_rearm_R_230mm_HE", "ace_rearm_Rocket_03_HE_F", "ace_rearm_Rocket_04_AP_F", "ace_rearm_R_230mm_fly"];
btc_log_def_can_load = (_c_array select 3);
btc_log_def_placeable = (_c_array select 0) + (_c_array select 3) + (_c_array select 4) + (_c_array select 5);
Expand Down Expand Up @@ -396,34 +391,20 @@ btc_log_main_rc = [
"Car", 35
];
btc_log_def_cc = [
"B_Quadbike_01_F", 2,
"B_UGV_01_rcws_F", 4,
"B_UGV_01_F", 4,
"Land_CargoBox_V1_F", 0,
btc_supplies_mat, 0,
btc_fob_mat, 0,
"Land_Cargo20_military_green_F", 20,
"Land_Cargo40_military_green_F", 40,
"B_Slingload_01_Fuel_F", 0,
"Land_Pod_Heli_Transport_04_medevac_black_F", 0,
//Trucks
"B_Truck_01_transport_F", 10,
"B_Truck_01_covered_F", 10,
"I_Truck_02_covered_F", 10,
"O_Truck_02_covered_F", 10,
"I_Truck_02_transport_F", 10,
"O_Truck_02_transport_F", 10,
"O_Truck_02_transport_F", 10
"Land_Cargo40_military_green_F", 40
];
btc_log_def_rc = [
"Land_BagBunker_Small_F", 5,
"Land_CargoBox_V1_F", 9999,
btc_supplies_mat, 10,
btc_fob_mat, 10,
"Land_Cargo20_military_green_F", 20,
"Land_Cargo40_military_green_F", 40,
btc_supplies_mat, 8,
btc_fob_mat, 8,
"Land_Cargo20_military_green_F", 8,
"B_Slingload_01_Fuel_F", 20,
"Land_Pod_Heli_Transport_04_medevac_black_F", 20
"Land_Pod_Heli_Transport_04_medevac_black_F", 8
];

btc_fnc_log_get_nottowable = {
Expand Down
11 changes: 1 addition & 10 deletions =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/compile.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ if (isServer) then {
btc_fnc_log_CuratorObjectPlaced_s = compile preprocessFileLineNumbers "core\fnc\log\CuratorObjectPlaced_s.sqf";
btc_fnc_log_createVehicle = compile preprocessFileLineNumbers "core\fnc\log\createVehicle.sqf";
btc_fnc_log_getRearmMagazines = compile preprocessFileLineNumbers "core\fnc\log\getRearmMagazines.sqf";
btc_fnc_log_init = compile preprocessFileLineNumbers "core\fnc\log\init.sqf";

//DEAF
btc_fnc_deaf_earringing = compile preprocessFileLineNumbers "core\fnc\deaf\earringing.sqf";
Expand Down Expand Up @@ -182,8 +183,6 @@ btc_fnc_int_ask_var = compile preprocessFileLineNumbers "core\fnc\int\ask_var.sq

//LOG
btc_fnc_log_can_tow = compile preprocessFileLineNumbers "core\fnc\log\can_tow.sqf";
btc_fnc_log_check_cargo = compile preprocessFileLineNumbers "core\fnc\log\check_cargo.sqf";
btc_fnc_log_check_cc = compile preprocessFileLineNumbers "core\fnc\log\check_cc.sqf";
btc_fnc_log_create = compile preprocessFileLineNumbers "core\fnc\log\create.sqf";
btc_fnc_log_create_apply = compile preprocessFileLineNumbers "core\fnc\log\create_apply.sqf";
btc_fnc_log_create_load = compile preprocessFileLineNumbers "core\fnc\log\create_load.sqf";
Expand All @@ -199,21 +198,14 @@ btc_fnc_log_lift_hud = compile preprocessFileLineNumbers "core\fnc\log\lift_hud.
btc_fnc_log_lift_hud_loop = compile preprocessFileLineNumbers "core\fnc\log\lift_hud_loop.sqf";
btc_fnc_log_get_cc = compile preprocessFileLineNumbers "core\fnc\log\get_cc.sqf";
btc_fnc_log_get_rc = compile preprocessFileLineNumbers "core\fnc\log\get_rc.sqf";
btc_fnc_log_load = compile preprocessFileLineNumbers "core\fnc\log\load.sqf";
btc_fnc_log_obj_fall = compile preprocessFileLineNumbers "core\fnc\log\obj_fall.sqf";
btc_fnc_log_paradrop = compile preprocessFileLineNumbers "core\fnc\log\paradrop.sqf";
btc_fnc_log_place = compile preprocessFileLineNumbers "core\fnc\log\place.sqf";
btc_fnc_log_place_create_camera = compile preprocessFileLineNumbers "core\fnc\log\place_create_camera.sqf";
btc_fnc_log_place_destroy_camera = compile preprocessFileLineNumbers "core\fnc\log\place_destroy_camera.sqf";
btc_fnc_log_place_key_down = compile preprocessFileLineNumbers "core\fnc\log\place_key_down.sqf";
btc_fnc_log_repair_wreck = compile preprocessFileLineNumbers "core\fnc\log\repair_wreck.sqf";
btc_fnc_log_select = compile preprocessFileLineNumbers "core\fnc\log\select.sqf";
btc_fnc_log_server_load = compile preprocessFileLineNumbers "core\fnc\log\server_load.sqf";
btc_fnc_log_server_repair_wreck = compile preprocessFileLineNumbers "core\fnc\log\server_repair_wreck.sqf";
btc_fnc_log_server_unload = compile preprocessFileLineNumbers "core\fnc\log\server_unload.sqf";
btc_fnc_log_tow = compile preprocessFileLineNumbers "core\fnc\log\tow.sqf";
btc_fnc_log_unhook = compile preprocessFileLineNumbers "core\fnc\log\unhook.sqf";
btc_fnc_log_unload = compile preprocessFileLineNumbers "core\fnc\log\unload.sqf";
btc_fnc_log_copy = compile preprocessFileLineNumbers "core\fnc\log\copy.sqf";
btc_fnc_log_paste = compile preprocessFileLineNumbers "core\fnc\log\paste.sqf";

Expand Down Expand Up @@ -280,7 +272,6 @@ if (!isDedicated) then {
btc_fnc_int_shortcuts = compile preprocessFileLineNumbers "core\fnc\int\shortcuts.sqf";
btc_fnc_int_terminal = compile preprocessFileLineNumbers "core\fnc\int\terminal.sqf";


//INFO
btc_fnc_info_ask = compile preprocessFileLineNumbers "core\fnc\info\ask.sqf";
btc_fnc_info_hideout_asked = compile preprocessFileLineNumbers "core\fnc\info\hideout_asked.sqf";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ _object_data params ["_type", "_posWorld", "_dir", "_magClass", "_cargo", "_inve

//create object
private _obj = _type createVehicle _posWorld;
btc_log_obj_created pushBack _obj;

btc_curator addCuratorEditableObjects [[_obj], false];

_obj setDir _dir;
_obj setPosWorld _posWorld;
_obj setVectorDirAndUp _vectorPos;

if !(_magClass isEqualTo "") then {_obj setVariable ["ace_rearm_magazineClass", _magClass, true]};

[_obj] call btc_fnc_log_init;
[_obj, _cargo, _inventory] call btc_fnc_db_loadCargo;
10 changes: 6 additions & 4 deletions =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/db/load_old.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,13 @@ private _vehs = profileNamespace getVariable [format ["btc_hm_%1_vehs", _name],
{
_x params ["_type", "_rearm_magazineClass", "_cargo_obj"];

private _obj = _type createVehicle [0, 0, 0];
private _l = createVehicle [_type, getPosATL _obj, [], 0, "CAN_COLLIDE"];
[_l] call btc_fnc_log_init;
private _isloaded = [_l, _obj] call ace_cargo_fnc_loadItem;
if (btc_debug_log) then {
[format ["Object loaded: %1 in veh/container %2 IsLoaded: %3", _l, _obj, _isloaded], __FILE__, [false]] call btc_fnc_debug_message;
};
if (_rearm_magazineClass != "") then {_obj setVariable ["ace_rearm_magazineClass", _rearm_magazineClass, true]};
btc_log_obj_created pushBack _obj;
btc_curator addCuratorEditableObjects [[_obj], false];

clearWeaponCargoGlobal _obj;clearItemCargoGlobal _obj;clearMagazineCargoGlobal _obj;
_cargo_obj params ["_weap_obj", "_mags_obj", "_items_obj"];
Expand All @@ -182,7 +185,6 @@ private _vehs = profileNamespace getVariable [format ["btc_hm_%1_vehs", _name],
_obj addItemCargoGlobal [(_items_obj select 0) select _i, (_items_obj select 1) select _i];
};
};
[_obj, _veh] call btc_fnc_log_server_load;
} forEach _veh_cargo;

clearWeaponCargoGlobal _veh;clearItemCargoGlobal _veh;clearMagazineCargoGlobal _veh;
Expand Down
96 changes: 50 additions & 46 deletions =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/db/loadcargo.sqf
Original file line number Diff line number Diff line change
@@ -1,63 +1,67 @@
params ["_obj", "_cargo", "_inventory"];
[{
params ["_obj", "_cargo", "_inventory"];

//handle cargo
{
_x params ["_type", "_magClass", "_cargo_obj"];
//handle cargo
{
_x params ["_type", "_magClass", "_cargo_obj"];

private _l = _type createVehicle [0, 0, 0];
if (_magClass != "") then {
_l setVariable ["ace_rearm_magazineClass", _magClass, true]
};
btc_log_obj_created pushBack _l;
btc_curator addCuratorEditableObjects [[_l], false];
private _l = createVehicle [_type, getPosATL _obj, [], 0, "CAN_COLLIDE"];
[_l] call btc_fnc_log_init;
private _isloaded = [_l, _obj] call ace_cargo_fnc_loadItem;
if (btc_debug_log) then {
[format ["Object loaded: %1 in veh/container %2 IsLoaded: %3", _l, _obj, _isloaded], __FILE__, [false]] call btc_fnc_debug_message;
};

clearWeaponCargoGlobal _l;
clearItemCargoGlobal _l;
clearMagazineCargoGlobal _l;
if (_magClass != "") then {
_l setVariable ["ace_rearm_magazineClass", _magClass, true]
};

_cargo_obj params ["_weap_obj", "_mags_obj", "_items_obj"];
clearWeaponCargoGlobal _l;
clearItemCargoGlobal _l;
clearMagazineCargoGlobal _l;

if !(_weap_obj isEqualTo []) then {
for "_i" from 0 to ((count (_weap_obj select 0)) - 1) do {
_l addWeaponCargoGlobal [(_weap_obj select 0) select _i, (_weap_obj select 1) select _i];
_cargo_obj params ["_weap_obj", "_mags_obj", "_items_obj"];

if !(_weap_obj isEqualTo []) then {
for "_i" from 0 to ((count (_weap_obj select 0)) - 1) do {
_l addWeaponCargoGlobal [(_weap_obj select 0) select _i, (_weap_obj select 1) select _i];
};
};
};

if !(_mags_obj isEqualTo []) then {
for "_i" from 0 to ((count (_mags_obj select 0)) - 1) do {
_l addMagazineCargoGlobal [(_mags_obj select 0) select _i, (_mags_obj select 1) select _i];
if !(_mags_obj isEqualTo []) then {
for "_i" from 0 to ((count (_mags_obj select 0)) - 1) do {
_l addMagazineCargoGlobal [(_mags_obj select 0) select _i, (_mags_obj select 1) select _i];
};
};
};

if !(_items_obj isEqualTo []) then {
for "_i" from 0 to ((count (_items_obj select 0)) - 1) do {
_l addItemCargoGlobal [(_items_obj select 0) select _i, (_items_obj select 1) select _i];
if !(_items_obj isEqualTo []) then {
for "_i" from 0 to ((count (_items_obj select 0)) - 1) do {
_l addItemCargoGlobal [(_items_obj select 0) select _i, (_items_obj select 1) select _i];
};
};
};
[_l, _obj] call btc_fnc_log_server_load;
} forEach _cargo;
} forEach _cargo;

//set inventory content for weapons, magazines and items
_inventory params ["_weap", "_mags", "_items"];
//set inventory content for weapons, magazines and items
_inventory params ["_weap", "_mags", "_items"];

clearWeaponCargoGlobal _obj;
clearItemCargoGlobal _obj;
clearMagazineCargoGlobal _obj;
clearWeaponCargoGlobal _obj;
clearItemCargoGlobal _obj;
clearMagazineCargoGlobal _obj;

if !(_weap isEqualTo []) then {
for "_i" from 0 to ((count (_weap select 0)) - 1) do {
_obj addWeaponCargoGlobal [(_weap select 0) select _i, (_weap select 1) select _i];
if !(_weap isEqualTo []) then {
for "_i" from 0 to ((count (_weap select 0)) - 1) do {
_obj addWeaponCargoGlobal [(_weap select 0) select _i, (_weap select 1) select _i];
};
};
};
if !(_mags isEqualTo []) then {
for "_i" from 0 to ((count (_mags select 0)) - 1) do {
_obj addMagazineCargoGlobal [(_mags select 0) select _i, (_mags select 1) select _i];
if !(_mags isEqualTo []) then {
for "_i" from 0 to ((count (_mags select 0)) - 1) do {
_obj addMagazineCargoGlobal [(_mags select 0) select _i, (_mags select 1) select _i];
};
};
};
if !(_items isEqualTo []) then {
for "_i" from 0 to ((count (_items select 0)) - 1) do {
_obj addItemCargoGlobal [(_items select 0) select _i, (_items select 1) select _i];
if !(_items isEqualTo []) then {
for "_i" from 0 to ((count (_items select 0)) - 1) do {
_obj addItemCargoGlobal [(_items select 0) select _i, (_items select 1) select _i];
};
};
};

_obj
}, _this] call CBA_fnc_waitAndExecute;
4 changes: 2 additions & 2 deletions =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/db/save.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private _array_veh = [];
private _cargo = [];
{
_cargo pushBack [typeOf _x, _x getVariable ["ace_rearm_magazineClass", ""], [getWeaponCargo _x, getMagazineCargo _x, getItemCargo _x]]
} forEach (_x getVariable ["cargo", []]);
} forEach (_x getVariable ["ace_cargo_loaded", []]);
_data pushBack _cargo;
private _cont = [getWeaponCargo _x, getMagazineCargo _x, getItemCargo _x];
_data pushBack _cont;
Expand All @@ -133,7 +133,7 @@ private _array_obj = [];
if !(_data isEqualTo []) then {
_array_obj pushBack _data;
};
} forEach btc_log_obj_created;
} forEach (btc_log_obj_created select {!(isObjectHidden _x)});
profileNamespace setVariable [format ["btc_hm_%1_objs", _name], _array_obj];

//Player Markers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ params ["_object"];

private _data = [];

if !(_object getVariable ["loaded", false] || !Alive _object || isNull _object) then {
if !(!alive _object || isNull _object) then {

_data pushBack (typeOf _object);
_data pushBack (getPosWorld _object);
Expand All @@ -12,7 +12,7 @@ if !(_object getVariable ["loaded", false] || !Alive _object || isNull _object)
private _cargo = [];
{
_cargo pushBack [typeOf _x, _x getVariable ["ace_rearm_magazineClass", ""], [getWeaponCargo _x, getMagazineCargo _x, getItemCargo _x]];
} forEach (_object getVariable ["cargo", []]);
} forEach (_object getVariable ["ace_cargo_loaded", []]);
_data pushBack _cargo;
//Inventory
private _cont = [getWeaponCargo _object, getMagazineCargo _object, getItemCargo _object];
Expand Down
16 changes: 0 additions & 16 deletions =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/eh/veh_init.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,10 @@ switch true do {
[_type, 0, ["ACE_MainActions", "Logistic"], _action] call ace_interact_menu_fnc_addActionToClass;
_action = ["log_hook", localize "STR_BTC_HAM_ACTION_VEHINIT_UHOOK", "\z\ace\addons\attach\UI\detach_ca.paa", {(_this select 0) spawn btc_fnc_log_unhook;}, {true}] call ace_interact_menu_fnc_createAction; //Unhook
[_type, 0, ["ACE_MainActions", "Logistic"], _action] call ace_interact_menu_fnc_addActionToClass;
//Cargo
_action = ["check_cargo", localize "STR_BTC_HAM_ACTION_LOGISTIC_CHECKCARGO", "\A3\ui_f\data\igui\cfg\simpleTasks\types\search_ca.paa", {(_this select 0) spawn btc_fnc_log_check_cargo;}, {true}] call ace_interact_menu_fnc_createAction; //Check Cargo
//Outside Vehicle
[_type, 0, ["ACE_MainActions", "Logistic"], _action] call ace_interact_menu_fnc_addActionToClass; //Logistic
//Inside Vehicle
[_type, 1, ["ACE_SelfActions"], _action, true] call ace_interact_menu_fnc_addActionToClass;
_action = ["Load_selected", localize "STR_BTC_HAM_ACTION_LOGISTIC_LOADSEL", "a3\ui_f\data\IGUI\Cfg\Actions\loadVehicle_ca.paa", {(_this select 0) spawn btc_fnc_log_load;}, {!isNull btc_log_object_selected && {btc_log_object_selected distance (_this select 0) <= btc_log_max_distance_load}}] call ace_interact_menu_fnc_createAction; //Load selected
[_type, 0, ["ACE_MainActions", "Logistic"], _action] call ace_interact_menu_fnc_addActionToClass; //Logistic
};
case (_type isKindOf "Helicopter") : {
private _action = ["Logistic", localize "STR_BTC_HAM_ACTION_LOC_MAIN", "\A3\ui_f\data\igui\cfg\simpleTasks\letters\L_ca.paa", {}, {true}] call ace_interact_menu_fnc_createAction; //Logistic
[_type, 0, ["ACE_MainActions"], _action] call ace_interact_menu_fnc_addActionToClass;
//Cargo
_action = ["check_cargo", localize "STR_BTC_HAM_ACTION_LOGISTIC_CHECKCARGO", "\A3\ui_f\data\igui\cfg\simpleTasks\types\search_ca.paa", {(_this select 0) spawn btc_fnc_log_check_cargo;}, {true}] call ace_interact_menu_fnc_createAction; //Check Cargo
//Outside Vehicle
[_type, 0, ["ACE_MainActions", "Logistic"], _action] call ace_interact_menu_fnc_addActionToClass; //Logistic
//Inside Vehicle
[_type, 1, ["ACE_SelfActions"], _action, true] call ace_interact_menu_fnc_addActionToClass;
_action = ["Load_selected", localize "STR_BTC_HAM_ACTION_LOGISTIC_LOADSEL", "a3\ui_f\data\IGUI\Cfg\Actions\loadVehicle_ca.paa", {(_this select 0) spawn btc_fnc_log_load;}, {!isNull btc_log_object_selected && {btc_log_object_selected distance (_this select 0) <= btc_log_max_distance_load}}] call ace_interact_menu_fnc_createAction; //Load selected
[_type, 0, ["ACE_MainActions", "Logistic"], _action] call ace_interact_menu_fnc_addActionToClass; //Logistic
//Lift
_action = ["Deploy_ropes", localize "STR_BTC_HAM_ACTION_VEHINIT_DEPLOYROPES", "\A3\ui_f\data\igui\cfg\simpleTasks\types\container_ca.paa", {[] spawn btc_fnc_log_lift_deploy_ropes;}, {!btc_ropes_deployed && {(driver vehicle player) isEqualTo player} && {(getPosATL player) select 2 > 4}}] call ace_interact_menu_fnc_createAction; //Deploy ropes
[_type, 1, ["ACE_SelfActions"], _action, true] call ace_interact_menu_fnc_addActionToClass;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ _action = ["Paste", localize "STR_BTC_HAM_ACTION_COPYPASTE_PASTE", "\A3\ui_f\dat
//Logistic
_action = ["Logistic", localize "STR_BTC_HAM_ACTION_LOC_MAIN", "\A3\ui_f\data\igui\cfg\simpleTasks\letters\L_ca.paa", {}, {true}] call ace_interact_menu_fnc_createAction;
{[_x, 0, ["ACE_MainActions"], _action] call ace_interact_menu_fnc_addActionToClass;} forEach btc_log_def_loadable;
_action = ["Load_in", localize "STR_BTC_HAM_ACTION_LOGISTIC_LOADIN", "a3\ui_f\data\IGUI\Cfg\Actions\loadVehicle_ca.paa", {(_this select 0) call btc_fnc_log_select;}, {true}] call ace_interact_menu_fnc_createAction;
{[_x, 0, ["ACE_MainActions", "Logistic"], _action] call ace_interact_menu_fnc_addActionToClass;} forEach btc_log_def_loadable;
_action = ["Load_selected", localize "STR_BTC_HAM_ACTION_LOGISTIC_LOADSEL", "a3\ui_f\data\IGUI\Cfg\Actions\loadVehicle_ca.paa", {(_this select 0) spawn btc_fnc_log_load;}, {!isNull btc_log_object_selected && {btc_log_object_selected distance (_this select 0) <= btc_log_max_distance_load}}] call ace_interact_menu_fnc_createAction;
{[_x, 0, ["ACE_MainActions", "Logistic"], _action] call ace_interact_menu_fnc_addActionToClass;} forEach btc_log_def_can_load;
_action = ["check_cargo", localize "STR_BTC_HAM_ACTION_LOGISTIC_CHECKCARGO", "\A3\ui_f\data\igui\cfg\simpleTasks\types\search_ca.paa", {(_this select 0) spawn btc_fnc_log_check_cargo;}, {true}] call ace_interact_menu_fnc_createAction;
{[_x, 0, ["ACE_MainActions", "Logistic"], _action] call ace_interact_menu_fnc_addActionToClass;} forEach btc_log_def_can_load;

//FOB
_action = ["Mount_FOB", localize "STR_BTC_HAM_ACTION_FOB_MOUNT", "\A3\Ui_f\data\Map\Markers\NATO\b_hq.paa", {(_this select 0) spawn btc_fnc_fob_create}, {true}] call ace_interact_menu_fnc_createAction;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
params ["_obj_created"];

btc_log_obj_created pushBack _obj_created;
[_obj_created] call btc_fnc_log_init;

if (btc_debug_log) then {
[format ["btc_log_obj_created UPDATED by curator %1", _obj_created], __FILE__, [false]] call btc_fnc_debug_message;
Expand Down
Loading

0 comments on commit 49c2b62

Please sign in to comment.