jumpAssinger.sqf 331 B

12345678910111213141516171819
  1. //params["personToApply"];
  2. personToApply=_this select 0;
  3. personToApply removeAllEventHandlers "HandleDamage";
  4. removeAllActions personToApply;
  5. comment "is Jumping-0
  6. last jump time-1
  7. jump counter-2
  8. cooldown-3
  9. max consecutive jumps-4";
  10. jumpData=[false,0,0,5,2];
  11. personToApply setVariable ["jumpArray", jumpData,true];