Advertisement
Guest User

Untitled

a guest
Jul 21st, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. Scipts arma
  2.  
  3. Fuego de artilleria: Trigger code (for gun1)
  4. _ammo = getArtilleryAmmo [gun1] select 0;
  5. _tgt = getMarkerPos "target1";
  6. gun1 doArtilleryFire[_tgt,_ammo,10];
  7.  
  8. Caida de HElicoptero :For the crash Activation waypoint:
  9.  
  10. h1 setHitPointDamage["HitVRotor", 1];
  11. h1 setHitPointDamage["HitEngine", 1];
  12. h1 setHitPointDamage["HitHull", 0.5];
  13. h1 setHitPointDamage["Glass1", 0.5];
  14. h1 setHitPointDamage["Glass2", 0.5];
  15. h1 setHitPointDamage["Glass3", 0.5];
  16. h1 setHitPointDamage["Glass4", 0.5];
  17. h1 setHitPointDamage["Glass5", 0.5];
  18. h1 allowDamage false;
  19.  
  20.  
  21. For the touchdown trigger...
  22. Condition:
  23. isTouchingGround h1;
  24.  
  25. OnActivation:
  26. h1D_1 setDamage 1;
  27. h1D setDamage 1;
  28.  
  29. animaciones: player switchmove "CLASSNAME";
  30.  
  31. INIT line for single leaflet/laptop sample:
  32.  
  33. ["init", [this, "image.jpg", "Text message"]] call BIS_fnc_initLeaflet
  34.  
  35. class CfgLeaflets
  36. {
  37. class Civ
  38. {
  39. text = "Text Message";
  40. texture = "image.jpg";
  41. }
  42. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement