Advertisement
icdb

[ArmA3] Dataterminal with animation

Dec 21st, 2017
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 1.04 KB | None | 0 0
  1. _target = (_this select 1);
  2. _title = "Interact with terminal";
  3. _idleIcon = "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa";
  4. _progressIcon = "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa";
  5. _condShow = "_this distance _target < 3";
  6. _condProgress = "_caller distance _target < 3";
  7. _codeStart = {
  8.     _caller setPos (_target getRelPos [0.70, 175]);
  9.     _caller setDir (getDir _target);
  10.     _caller switchMove "Acts_TerminalOpen";
  11.     sleep 1;
  12.     [_target, 3] call BIS_fnc_DataTerminalAnimate;
  13. };
  14. _codeProgress = {};
  15. _codeCompleted = {
  16.     [_target, 0] call BIS_fnc_DataTerminalAnimate;
  17.     _caller switchMove "";
  18. };
  19. _codeInterupted = {
  20.     [_target, 0] call BIS_fnc_DataTerminalAnimate;
  21.     _caller switchMove "";
  22. };
  23. _arguments = [];
  24. _duration = 5;
  25. _priority = 10;
  26. _removeCompleted = false;
  27. _showUncon = false;
  28.  
  29. [_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