2015-01-11 18:24:19 +00:00
|
|
|
//#define DEBUG_MODE_FULL
|
|
|
|
#include "script_component.hpp"
|
|
|
|
//_this=[TEST_AI_HELICOPTER,"missiles_DAGR","missiles_DAGR","Far_AI","M_PG_AT","24Rnd_PG_missiles",163988: rocket_01_fly_f.p3d]
|
|
|
|
TRACE_1("enter", _this);
|
|
|
|
PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
|
|
|
|
|
|
|
|
if(!local _shooter) exitWith { false };
|
2015-01-20 04:16:33 +00:00
|
|
|
|
|
|
|
switch _weapon do {
|
2015-04-02 16:35:36 +00:00
|
|
|
case "missiles_DAGR": {
|
|
|
|
_this call FUNC(guidance_DAGR);
|
|
|
|
};
|
|
|
|
case "GBU12BombLauncher": {
|
|
|
|
_this call FUNC(guidance_LGB);
|
|
|
|
};
|
2015-01-20 04:16:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//_this call FUNC(guidance_HellfireII);
|