Grenadier ITF created a topic in ARMA 3 - MISSION EDITING & SCRIPTING
January 10, 2020
Pass local variable in displayAddEventHandler
As the title suggests I can't pass the _target variable.
_target = _this select 0;
_id=(findDisplay 46) displayAddEventHandler ["KeyDown", "if(_this select 1==22)then {_nul =[_target] execVM 'koc.sqf'};"];
any suggestions would be welcome :))
6 replies