mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
8 lines
304 B
Plaintext
8 lines
304 B
Plaintext
//#define DEBUG_MODE_FULL
|
|
#include "script_component.hpp"
|
|
PARAMS_3(_target,_ammo,_shooter);
|
|
|
|
if(GVAR(enabled) < 1) exitWith {}; // bail if enabled
|
|
if !(local (gunner _shooter) || {local _shooter}) exitWith {}; // bail if not shooter
|
|
|
|
_shooter setVariable [QGVAR(vanilla_target),_target, false]; |