ACE3/addons/wep_javelin/functions/fnc_onGetLockedTarget.sqf

8 lines
285 B
Plaintext
Raw Normal View History

2015-01-14 01:21:14 +00:00
//#define DEBUG_MODE_FULL
#include "script_component.hpp"
// Store the current cursor target for guidance
GVAR(currentTarget) = cursorTarget;
GVAR(currentTargetPos) = screenToWorld [0.5,0.5];
TRACE_2("Tracking optics target draw", GVAR(currentTarget), GVAR(currentTargetPos));