Page MenuHomeFeedback Tracker

Missing Event Handler "RadarLockOn"
Closed, ResolvedPublic

Description

Suggestion to add an Event Handler to detect if something ( Titan launcher with AA Missles) is trying to lock on a Vehicle ( Event that fires on the "Orange" Radar Warning), in addition to the Event "IncomingMissile" ("Red" Radar Warning).

Details

Legacy ID
2371328633
Severity
None
Resolution
Open
Reproducibility
N/A
Category
Scripting
Additional Information

Event "RadarLockOn"
Triggered when a guided missile try's to lock on the target.
Global.
Passed array: [unit, ammo, whoLocksOn]
unit: Object - Object the event handler is assigned to
ammo: String - Ammo type that was fired on the unit
whoLocksOn: Object - Object that try's to lock on with the weapon

Event Timeline

Yoshi_E edited Steps To Reproduce. (Show Details)Aug 5 2013, 8:42 PM
Yoshi_E edited Additional Information. (Show Details)
Yoshi_E set Category to Scripting.
Yoshi_E set Reproducibility to N/A.
Yoshi_E set Severity to None.
Yoshi_E set Resolution to Open.
Yoshi_E set Legacy ID to 2371328633.May 7 2016, 3:51 PM
Bohemia added a subscriber: Yoshi_E.Aug 5 2013, 8:42 PM

i believe this is a current work arround atleast for arma2.
check the arma3 config file

//-- author benny - auto dump flares on locked aircraft.

Private ["_flarecount","_missile","_vehicle"];
_vehicle = _this select 0;
_missile = _this select 1;

if (alive _vehicle && (getPos _vehicle) select 2 > 5) then {
_isActive = _vehicle getvariable "FlareActive";
_type = getNumber (configFile >> "CfgAmmo" >> _missile >> "AirLock");
if ((_type == 1) && (! _isActive)) then {

		private ["_flarecount"];
		_vehicle setVariable ["FlareActive", true];
		if ((driver _vehicle) == player) then {_vehicle vehicleChat "WARNING: incomming missile!"};
		_flarecount = _vehicle getVariable "FlareCount";
		if (_flarecount > 0) then {
			_this Spawn CM_Spoofing;
			for [{_i=0}, {_i<8}, {_i=_i+1}] do {
				[_vehicle] Call CM_Flares;
				sleep 0.3;
			};
		};
		_vehicle setVariable ["FlareActive", false];

};
};

MadDogX added a subscriber: MadDogX.May 7 2016, 3:51 PM

Mass closing ancient tickets with no activity for > 12 months; assume fixed or too trivial.

If this issue is still relevant in current dev build, please re-post.