meaty 34 Posted November 4, 2015 I dont suppose anyone knows how to make either a map marker, or 3d marker (withen say, a 5m distance) appear when a unit is "unconscious" when using ACE3 have they? Or even better, something along the lines of the AIS system where you get a marker and calls for help. I've tried editing the AIS scripts but its all beyond my simple scripting knowledge :( I've managed to narrow what i "think" i need to the following bit of code if (tcb_ais_show_3d_icons == 1) then { _icons = addMissionEventHandler ["Draw3D", { { if ((_x distance player) < 30 && {_x getVariable "tcb_ais_agony"}) then { drawIcon3D ["a3\ui_f\data\map\MapControl\hospital_ca.paa", [0.6,0.15,0,0.8], _x, 0.5, 0.5, 0, format["%1 (%2m)", name _x, ceil (player distance _x)], 0, 0.02]; }; } forEach playableUnits; }]; }; and tried it with the ACE setting that i "think" is the right one (ACE_isUnconscious) if (tcb_ais_show_3d_icons == 1) then { _icons = addMissionEventHandler ["Draw3D", { { if ((_x distance player) < 30 && {_x getVariable "ACE_isUnconscious"}) then { drawIcon3D ["a3\ui_f\data\map\MapControl\hospital_ca.paa", [0.6,0.15,0,0.8], _x, 0.5, 0.5, 0, format["%1 (%2m)", name _x, ceil (player distance _x)], 0, 0.02]; }; } forEach playableUnits; }]; }; So does anyone know what i'm doing wrong? Share this post Link to post Share on other sites
davidoss 552 Posted November 4, 2015 _x getVariable ["ACE_isUnconscious", false] + tcb_ais_show_3d_icons must be set to 1 Share this post Link to post Share on other sites
meaty 34 Posted November 5, 2015 thanks davidoss, i'll give it a test over the weekend to see if it works :) Share this post Link to post Share on other sites