RHS Feedback - AFRF
View Issue Details
0002603AFRF[All Projects] Generalpublic2016-08-21 19:262016-08-23 12:51
Snippers 
reyhard 
nonetweakalways
resolvedfixed 
 
0.4.2 
No
1.62
Yes
ACRE2
0002603: Tigr turret script blocks keyUp event handler.
The armed tigr (rhs_tigr_sts_3camo_msv), has a script that adds a keyDown event handler. This is because the event handler always returns true. This in turns means the engine will not execute any further keyDown eventhandlers.

This is a problem for other mods (ACRE2) that are reliant on using these key handlers.

What it looks like now (rhs_tigr_sts_turret_ui.sqf):

_id = (findDisplay 46) displayAddEventHandler ["KeyUp", {
...
    true
}];



What it should look like:

_id = (findDisplay 46) displayAddEventHandler ["KeyUp", {
        private _handled = false;
        if (doAction) then {
            _handled = true;
        };
    _handled;
}];
No tags attached.
Issue History
2016-08-21 19:26SnippersNew Issue
2016-08-21 19:28SnippersDescription Updatedbug_revision_view_page.php?rev_id=3412#r3412
2016-08-23 12:51reyhardStatusnew => resolved
2016-08-23 12:51reyhardFixed in Version => 0.4.2
2016-08-23 12:51reyhardResolutionopen => fixed
2016-08-23 12:51reyhardAssigned To => reyhard

There are no notes attached to this issue.