RCA3 593 Posted April 17, 2020 (edited) Hi, please, Why does my RPT (see rca3asstmgat_fnc_init) report only for some factions? NATO, CSAT, Gendarmerie report just fine, FIA (blue, opfor, indep), Syndicat and others report nothing. Not a string, not null, nothing, no line on RPT. Can the init EH's be broken on these factions? Will using CBA fix this? Is it my error? Thanks. config.cpp Spoiler class CfgPatches { class rca3_asst_mg_at { // Meta information for editor name = "Assistant Machinegunner and Anti-tank"; author = "RCA3"; requiredVersion = 1.00; // Required addons, used for setting load order. requiredAddons[] = {"A3_Data_F_Enoch_Loadorder"}; //Tried plus this too: "a3_characters_f", "a3_characters_f_enoch" // List of objects (CfgVehicles classes) contained in the addon. Important also for Zeus content unlocking. units[] = {"Man_F"}; // List of weapons (CfgWeapons classes) contained in the addon. weapons[] = {}; }; }; class CfgFunctions { class rca3asstmgat { class rca3functions { class init { file = "RCA3_ASST_MG_AT\fn_init.sqf"; preInit = 1; //Tried postInit and neither }; }; }; }; class CfgVehicles { class Man; class CAManBase: Man { class EventHandlers { class rca3_asst_mg_at { init = "null = (_this select 0) spawn rca3asstmgat_fnc_init"; }; }; }; }; rca3asstmgat_fnc_init: if (param [0] isEqualTo "preInit") exitWith{}; //preinit private _unit = param [0]; diag_log str _unit; diag_log format ["%1, %2", primaryWeapon _unit isEqualTo "", secondaryWeapon _unit isEqualTo ""]; NATO rifleman RPT: Quote 1:16:27 Starting mission: 1:16:27 Mission file: asst_mg_WIP 1:16:27 Mission world: vr 1:16:27 Mission directory: C:\Users\RCA3\Documents\Arma 3 - Other Profiles\RCA3\missions\asst_mg_WIP.vr\ 1:16:31 "false, true" BLUFOR FIA rifleman RPT: Quote 1:18:07 Starting mission: 1:18:07 Mission file: asst_mg_WIP 1:18:07 Mission world: vr 1:18:07 Mission directory: C:\Users\RCA3\Documents\Arma 3 - Other Profiles\RCA3\missions\asst_mg_WIP.vr\ Syndikat Specialist (Launcher) and Hireling (Launcher) RPT: Quote 23:28:39 Starting mission: 23:28:39 Mission file: asst_mg_wip 23:28:39 Mission world: vr 23:28:39 Mission directory: c:\users\RCA3\documents\arma 3 - other profiles\RCA3\missions\asst_mg_wip.vr\ 23:28:42 soldier[I_C_Soldier_Para_5_F]:Some of magazines weren't stored in soldier Vest or Uniform? 23:28:42 soldier[I_C_Soldier_Para_5_F]:Some of magazines weren't stored in soldier Vest or Uniform? 23:28:42 soldier[I_C_Soldier_Bandit_2_F]:Some of magazines weren't stored in soldier Vest or Uniform? 23:28:42 soldier[I_C_Soldier_Bandit_2_F]:Some of magazines weren't stored in soldier Vest or Uniform? EDIT: CBA fixed it: Spoiler class CfgPatches { class asst_mg_at { // Meta information for editor name = "Assistant Machinegunner and Anti-tank"; author = "RCA3"; requiredVersion = 1.00; // Required addons, used for setting load order. requiredAddons[] = {"A3_Data_F_Enoch_Loadorder","cba_main"}; // List of objects (CfgVehicles classes) contained in the addon. Important also for Zeus content unlocking. units[] = {"Man_F"}; // List of weapons (CfgWeapons classes) contained in the addon. weapons[] = {}; }; }; class CfgFunctions { class asstmgat { class asst_mg_at_fncs { class init { file = "ASST_MG_AT\fn_init.sqf"; }; }; }; }; class Extended_Init_EventHandlers { class CAManBase { class asst_mg_at_eh { init = "null = (_this select 0) spawn asstmgat_fnc_init"; }; }; }; Edited April 23, 2020 by RCA3 Full config. 1+ RPT + Solution + Title Share this post Link to post Share on other sites