Advertisement
icdb

[ArmA3] Intel Added Hold action

Dec 7th, 2017
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.92 KB | None | 0 0
  1. _target = (_this select 1);
  2. _title = "Hold to investigate";
  3. _idleIcon = "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa";
  4. _progressIcon = "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa";
  5. _condShow = "_this distance _target < 3";
  6. _condProgress = "_caller distance _target < 3";
  7. _codeStart = {[_target, 3] call BIS_fnc_DataTerminalAnimate;};
  8. _codeProgress = {};
  9. _codeCompleted = {
  10.     sleep 0.5;
  11.     ["IntelAdded",["test123","\A3\ui_f\data\IGUI\Cfg\simpleTasks\types\search_ca.paa"]] call BIS_fnc_showNotification;
  12. };
  13. _codeInterupted = {[_target, 0] call BIS_fnc_DataTerminalAnimate; };
  14. _arguments = [];
  15. _duration = 3;
  16. _priority = 10;
  17. _removeCompleted = true;
  18. _showUncon = false;
  19.  
  20. [_target,_title,_idleIcon,_progressIcon,_condShow,_condProgress,_codeStart,_codeProgress,_codeCompleted,_codeInterupted,_arguments,_duration,_priority,_removeCompleted,_showUncon] remoteExec ["BIS_fnc_holdActionAdd",0,true];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement