cursorTarget, used by this script to detect units under the cursor, doesn't seem to work when the player is stationary or walking while in freelook. If he's crawling, jogging, or running, it works fine.
Solution would involve bis_fnc_inAngleSector ala STUI nametags -- but working with player view vector normal instead of weapon direction. Code for player view vector normal is in draw.sqf.
cursorTarget, used by this script to detect units under the cursor, doesn't seem to work when the player is stationary or walking while in freelook. If he's crawling, jogging, or running, it works fine.