Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _target = (_this select 1);
- _title = "activate Nuke";
- _idleIcon = "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa";
- _progressIcon = "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa";
- _condShow = "_this distance _target < 3";
- _condProgress = "_caller distance _target < 3";
- _codeStart = {[_target, 3] call BIS_fnc_DataTerminalAnimate;};
- _codeProgress = {};
- _codeCompleted = {
- sleep 1.5;
- _target say3D "Alarm";
- sleep 1.5;
- _target say3D "Alarm";
- sleep 1.5;
- [_target, 0] call BIS_fnc_DataTerminalAnimate;
- sleep 2;
- cursorObject setObjectTextureGlobal [2, "#(argb,8,8,3)color(0,0,0,1,co)"];
- {
- [(getPos _target) ,500,500] remoteExec [_x,0];
- } foreach [
- "rhs_fnc_ss21_nuke_fx_smoke",
- "rhs_fnc_ss21_nuke_fx_light",
- "rhs_fnc_ss21_nuke_fx_shockwave",
- "rhs_fnc_ss21_nuke_fx_postprocessing"
- ];
- [(getPos _target),500,500] remoteExecCall ["rhs_fnc_ss21_nuke_fx_damage",2];
- };
- _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];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement