Advertisement
Marz1pan

Untitled

Nov 23rd, 2019
672
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.84 KB | None | 0 0
  1. _types = [
  2. "Lamps_Base_F",
  3. "Land_LampAirport_F",
  4. "Land_LampSolar_F",
  5. "Land_LampStreet_F",
  6. "Land_LampStreet_small_F",
  7. "PowerLines_base_F",
  8. "Land_LampDecor_F",
  9. "Land_LampHalogen_F",
  10. "Land_LampHarbour_F",
  11. "Land_LampShabby_F",
  12. "Land_PowerPoleWooden_L_F",
  13. "Land_NavigLight",
  14. "Land_runway_edgelight",
  15. "Land_runway_edgelight_blue_F",
  16. "Land_Flush_Light_green_F",
  17. "Land_Flush_Light_red_F",
  18. "Land_Flush_Light_yellow_F",
  19. "Land_Runway_PAPI",
  20. "Land_Runway_PAPI_2",
  21. "Land_Runway_PAPI_3",
  22. "Land_Runway_PAPI_4",
  23. "Land_fs_roof_F", // Fuel station roof lights
  24. "Land_fs_sign_F"
  25. ];
  26.  
  27. _lamps = nearestObjects [player, _types, 3000];
  28. {_x setHit ["light_1_hitpoint", 0.97]} forEach _lamps;
  29. {_x setHit ["light_2_hitpoint", 0.97]} forEach _lamps;
  30. {_x setHit ["light_3_hitpoint", 0.97]} forEach _lamps;
  31. {_x setHit ["light_4_hitpoint", 0.97]} forEach _lamps;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement