mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
11 lines
437 B
Plaintext
11 lines
437 B
Plaintext
|
#define DEBUG_MODE_FULL
|
||
|
#include "script_component.hpp"
|
||
|
|
||
|
EXPLODE_7_PVT((_this select 0),_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
|
||
|
private["_targets", "_foundTargetPos"];
|
||
|
|
||
|
_targets = [_projectile, ACE_DEFAULT_LASER_CODE, 70, (velocity _projectile)] call ace_laser_fnc_findLaserDesignator;
|
||
|
_foundTargetPos = getPosASL (_targets select 1);
|
||
|
|
||
|
TRACE_1("Seeker return target pos", _foundTargetPos);
|
||
|
_foundTargetPos;
|