mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
GBU and DAGR guidance initializations.
This commit is contained in:
@ -5,7 +5,14 @@ TRACE_1("enter", _this);
|
|||||||
PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
|
PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
|
||||||
|
|
||||||
if(!local _shooter) exitWith { false };
|
if(!local _shooter) exitWith { false };
|
||||||
if(_weapon == "missiles_DAGR") then {
|
|
||||||
|
switch _weapon do {
|
||||||
|
case "missiles_DAGR": {
|
||||||
_this call FUNC(guidance_DAGR);
|
_this call FUNC(guidance_DAGR);
|
||||||
//_this call FUNC(guidance_HellfireII);
|
};
|
||||||
|
case "GBU12BombLauncher": {
|
||||||
|
_this call FUNC(guidance_LGB);
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//_this call FUNC(guidance_HellfireII);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#define DEBUG_MODE_FULL
|
//#define DEBUG_MODE_FULL
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
FUNC(guidance_Hellfire_LOAL_HI_PFH) = {
|
FUNC(guidance_Hellfire_LOAL_HI_PFH) = {
|
||||||
|
Reference in New Issue
Block a user