_target = (_this select 1); _title = "Hold to investigate"; _idleIcon = "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa"; _progressIcon = "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa"; _condShow = "_this distance _target < 3"; _condProgress = "_caller distance _target < 3"; _codeStart = {[_target, 3] call BIS_fnc_DataTerminalAnimate;}; _codeProgress = {}; _codeCompleted = { sleep 0.5; ["IntelAdded",["test123","\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\search_ca.paa"]] call BIS_fnc_showNotification; }; _codeInterupted = {[_target, 0] call BIS_fnc_DataTerminalAnimate; }; _arguments = []; _duration = 3; _priority = 10; _removeCompleted = true; _showUncon = false; [_target,_title,_idleIcon,_progressIcon,_condShow,_condProgress,_codeStart,_codeProgress,_codeCompleted,_codeInterupted,_arguments,_duration,_priority,_removeCompleted,_showUncon] remoteExec ["BIS_fnc_holdActionAdd",0,true];