onEachFrame works for me when not running CBA. With CBA it only lasts one frame. My current versions are CBA v1.09 and ArmA3 1.36 stable
It works with CBA when using BIS_fnc_addStackedEventHandler:
["uniqueID", "onEachFrame", { drawIcon3D ["", [1,1,1,0.5], getPos player, 1, 1, 0, format["%1\n%2", "Dreaded", "Entity"]]; }] call BIS_fnc_addStackedEventHandler;