Jump to content

Recommended Posts

Hi folks i want to try something ive never tried before but im not sure its even possible. Basically i want to set up some audio radio messages that are triggered but a few of them i want the enemy to report what direction the player is moving. Creating the audio messages aint a problem but now i want to push it a bit further with the direction of travel. My aim is to give the player the impression of being watched as he's patrolling. 

Is this possible & if so could someone please show me how i can do it please.

Many thanks in advance

Share this post


Link to post
Share on other sites


_pos1 = getPosWorld player;

sleep 20;

_pos2 = getPosWorld player;

_angle = [pos1, pos2] call BIS_fnc_dirTo;

if (_angle > 0 && _angle <= 90) then {hint "Playe is moving north-east"};

if (_angle > 90 && _angle <= 180) then {hint "Playe is moving south- east"};

and so on and so forth.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×