daily pastebin goal
51%
SHARE
TWEET

Untitled

Faguss Nov 6th, 2018 (edited) 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _t  = _this select 0
  2. _nz = "whatever"
  3.  
  4.  
  5.  
  6.  
  7. #l1
  8. ~1
  9. ? !alive _t : exit
  10. _nd = 3
  11. "if (_x distance _t < _nd) then {_nz=_x; _nd=_x distance _t}" forEach alist
  12. if (_nd < 2.7) then {goto "grb"} else {goto "l1"}
  13.  
  14.  
  15.  
  16.  
  17. #grb
  18. ? !alive _nz                 : alist = alist - [_nz]; goto "l1"
  19. ? vehicle _t != _t           : goto "l1"
  20. ? _t distance vejtraska < 10 : goto "l1"
  21.  
  22. if !((_t hasweapon "M16") || (_t hasweapon "M16GrenadeLauncher") || (_t hasweapon "AK74GrenadeLauncher") || (_t hasweapon "AK47GrenadeLaucnher") || (_t hasweapon "M60") || (_t hasweapon "HuntingRifle") || (_t hasweapon "AK74") || (_t hasweapon "AK47") || (_t hasweapon "AK47CZ") || (_t hasweapon "AK74SU") || (_t hasweapon "Bizon") || (_t hasweapon "FAL") || (_t hasweapon "G36A") || (_t hasweapon "HK") || (_t hasweapon "HKG3") || (_t hasweapon "Kozlice") || (_t hasweapon "M4") || (_t hasweapon "M21") || (_t hasweapon "Steyr") || (_t hasweapon "SVDDragunov") || (_t hasweapon "UZI") || (_t hasweapon "XMS") || (_t hasweapon "PK") || (_t hasweapon "6G30") || (_t hasweapon "MM1") || (_t hasweapon "PK")) then {goto "fist"}
  23.  
  24. ? local _t : _dir = [_t, _nz] call function_dir_from_1_to_2_unit; _t setDir _dir
  25. _t PlayMove "CombatStrokeGun"
  26. ~0.8
  27.  
  28. [_t,0] exec "stroke.sqs"
  29. ~0.5
  30.  
  31. [_t,1] exec "stroke.sqs"
  32. ? _t distance _nz > 2.7 : goto "l1"
  33. if (random 1 > 0.75) then {_nz setdamage ((getdammage _nz) + 0.25)} else {_nz setdamage 1}
  34. ~0.6
  35. goto "l1"
  36.  
  37.  
  38.  
  39.  
  40.  
  41. #fist
  42. ? local _t : _dir = [leader _t, _nz] call function_dir_from_1_to_2_unit; _t setDir _dir
  43.  
  44. if ((_t call CHECK_STANCE_CWA_GET_ANIM) in CHECK_STANCE_CWA_HANDGUN) then {_t playmove "StandToHandGunStand1"} else {_t switchmove "StandStrokeFist"}
  45.  
  46. @(speed _t == 0)
  47. ~0.55
  48. _t exec "punch.sqs"
  49. ? _t distance _nz > 2.7 : goto "l1"
  50. if (random 1 > 0.25) then {_nz setdamage ((getdammage _nz) + 0.1)} else {_nz setdamage ((getdammage _nz) + 0.12)}
  51. ~1.45
  52. goto "l1"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top