Search the Community
Showing results for tags 'cruise'.
Found 2 results
-
Cannot lock Lasers from Aircraft
Heavensrevenger posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
So, I used the following code to add cruise misssles to aircraft: this addWeaponTurret ["weapon_VLS_01",[-1]]; this addMagazineTurret ["magazine_Missiles_Cruise_01_x18",[-1]]; If the Code is added to like a rhino MGS or something it works fine, but if added to eg. the Gryphon when trying to lock on to the laser it just has the 4 corners around the laser but doesnt actually lock it. -
Cannot Lock/Target spawned in Vehicles
Heavensrevenger posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
So I want to make Cuise Missile that can be shot down. So far I've made the following code: this addEventHandler ["Fired", { params ["_unit","_weapon","_muzzle","_mode","_ammo","_magazine","_projectile","_vehicle"]; _drone = "O_T_UAV_04_CAS_F" createVehicle (getPosATL _projectile); _drone attachTo [_projectile,[0,0,0]]; _drone setObjectTextureGlobal [_index, ""]; createVehicleCrew _drone; nul = [_drone, _projectile] spawn { params ["_drone","_projectile"]; waitUntil {!alive _drone}; _bomb = "SatchelCharge_Remote_Ammo_Scripted" createVehicle getPos _projectile; _bomb setDamage 1; deleteVehicle _projectile; deleteVehicle _drone; }; }]; I works great (beside that the drones pylons stay visible, which I haven't found a fix for) and you can manually destroy the cruise missile with an autocannon. But you cant lock it for some reason. Even if you turn the engine on the spawned drone on you just get the rectangel but not the sound/diamond with dot in the middle. Anyone know why? (Code is copied from the MK 41 Init Field)