Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _t = _this select 0
- _nz = "whatever"
- #l1
- ~1
- ? !alive _t : exit
- _nd = 3
- "if (_x distance _t < _nd) then {_nz=_x; _nd=_x distance _t}" forEach alist
- if (_nd < 2.7) then {goto "grb"} else {goto "l1"}
- #grb
- ? !alive _nz : alist = alist - [_nz]; goto "l1"
- ? vehicle _t != _t : goto "l1"
- ? _t distance vejtraska < 10 : goto "l1"
- 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"}
- ? local _t : _dir = [_t, _nz] call function_dir_from_1_to_2_unit; _t setDir _dir
- _t PlayMove "CombatStrokeGun"
- ~0.8
- [_t,0] exec "stroke.sqs"
- ~0.5
- [_t,1] exec "stroke.sqs"
- ? _t distance _nz > 2.7 : goto "l1"
- if (random 1 > 0.75) then {_nz setdamage ((getdammage _nz) + 0.25)} else {_nz setdamage 1}
- ~0.6
- goto "l1"
- #fist
- ? local _t : _dir = [leader _t, _nz] call function_dir_from_1_to_2_unit; _t setDir _dir
- if ((_t call CHECK_STANCE_CWA_GET_ANIM) in CHECK_STANCE_CWA_HANDGUN) then {_t playmove "StandToHandGunStand1"} else {_t switchmove "StandStrokeFist"}
- @(speed _t == 0)
- ~0.55
- _t exec "punch.sqs"
- ? _t distance _nz > 2.7 : goto "l1"
- if (random 1 > 0.25) then {_nz setdamage ((getdammage _nz) + 0.1)} else {_nz setdamage ((getdammage _nz) + 0.12)}
- ~1.45
- goto "l1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement