A custom script to show ally icons on the GPS mini map works fine when running from initPlayerLocal.sqf if no V-44 X Blackfish is present on the mission.
As soon as a V-44 X Blackfish is added to the mission the script stops working.
Script:
[] spawn { sleep 4; Hint "Minimap scritp running"; waitUntil {sleep 0.5; !isNull (uiNamespace getVariable ["RscCustomInfoMiniMap", displayNull])}; Hint "RscCustomInfoMiniMap running"; disableSerialization; private _display = uiNamespace getVariable ["RscCustomInfoMiniMap", displayNull]; private _miniMapControlGroup = _display displayCtrl 13301; private _miniMap = _miniMapControlGroup controlsGroupCtrl 101; _miniMap ctrlAddEventHandler ["Draw", { { (_this select 0) drawIcon [ getText (configFile >> "CfgVehicles" >> typeOf (vehicle _x) >> "icon"), [0,0.3,0.6,0.90], getPosWorld _x, 19, 19, getDirVisual _x ] } forEach (units group player - [player]); }]; };