Advertisement
t3quila

targetanimate.sqf

Nov 10th, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. if (isServer) then
  2. {
  3. fnftargets =
  4. {
  5. t31 animate["terc",0];
  6. t32 animate["terc",0];
  7. t33 animate["terc",0];
  8. t34 animate["terc",0];
  9. t35 animate["terc",0];
  10. t36 animate["terc",0];
  11. t37 animate["terc",0];
  12. t38 animate["terc",0];
  13. t39 animate["terc",0];
  14.  
  15. t31 addMPEventHandler ["MPHit", {t31 animate["terc",1]}];
  16. t32 addMPEventHandler ["MPHit", {t32 animate["terc",1]}];
  17. t33 addMPEventHandler ["MPHit", {t33 animate["terc",1]}];
  18. t34 addMPEventHandler ["MPHit", {t34 animate["terc",1]}];
  19. t35 addMPEventHandler ["MPHit", {t35 animate["terc",1]}];
  20. t36 addMPEventHandler ["MPHit", {t36 animate["terc",1]}];
  21. t37 addMPEventHandler ["MPHit", {t37 animate["terc",1]}];
  22. t38 addMPEventHandler ["MPHit", {t38 animate["terc",1]}];
  23. t39 addMPEventHandler ["MPHit", {t39 animate["terc",1]}];
  24. };
  25.  
  26. fnftargets_deac =
  27. {
  28. t31 animate["terc",0];
  29. t32 animate["terc",0];
  30. t33 animate["terc",0];
  31. t34 animate["terc",0];
  32. t35 animate["terc",0];
  33. t36 animate["terc",0];
  34. t37 animate["terc",0];
  35. t38 animate["terc",0];
  36. t39 animate["terc",0];
  37.  
  38. t31 removeMPEventHandler ["MPHit",0];
  39. t32 removeMPEventHandler ["MPHit",0];
  40. t33 removeMPEventHandler ["MPHit",0];
  41. t34 removeMPEventHandler ["MPHit",0];
  42. t35 removeMPEventHandler ["MPHit",0];
  43. t36 removeMPEventHandler ["MPHit",0];
  44. t37 removeMPEventHandler ["MPHit",0];
  45. t38 removeMPEventHandler ["MPHit",0];
  46. t39 removeMPEventHandler ["MPHit",0];
  47. };
  48. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement