icdb

[ArmA3] Nuke (interaction menu action)

Nov 18th, 2017
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.54 KB | None | 0 0
  1.  
  2. nuke_availabe = true;
  3. (_this select 1) addAction ["<t color='#FF0000'>Set off Nuke</t>", {
  4.  
  5.     _AOE = getPos (_this select 0);
  6.  
  7.     [_AOE] spawn {
  8.    
  9.         {    [(_this select 0),500,500] remoteExec [_x,0];
  10.             }   foreach [
  11.                     "rhs_fnc_ss21_nuke_fx_smoke",
  12.                  "rhs_fnc_ss21_nuke_fx_light",
  13.                  "rhs_fnc_ss21_nuke_fx_shockwave",
  14.                     "rhs_fnc_ss21_nuke_fx_postprocessing"
  15.         ];
  16.  
  17.         [(_this select 0),500,500] remoteExecCall ["rhs_fnc_ss21_nuke_fx_damage",2];
  18.        
  19.     };
  20.  
  21.  
  22.    
  23.     nuke_availabe = false;
  24.  
  25. },[],10,true,true,"","nuke_availabe"];
Advertisement
Add Comment
Please, Sign In to add comment