Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _types = [
- "Lamps_Base_F",
- "Land_LampAirport_F",
- "Land_LampSolar_F",
- "Land_LampStreet_F",
- "Land_LampStreet_small_F",
- "PowerLines_base_F",
- "Land_LampDecor_F",
- "Land_LampHalogen_F",
- "Land_LampHarbour_F",
- "Land_LampShabby_F",
- "Land_PowerPoleWooden_L_F",
- "Land_NavigLight",
- "Land_runway_edgelight",
- "Land_runway_edgelight_blue_F",
- "Land_Flush_Light_green_F",
- "Land_Flush_Light_red_F",
- "Land_Flush_Light_yellow_F",
- "Land_Runway_PAPI",
- "Land_Runway_PAPI_2",
- "Land_Runway_PAPI_3",
- "Land_Runway_PAPI_4",
- "Land_fs_roof_F", // Fuel station roof lights
- "Land_fs_sign_F"
- ];
- _lamps = nearestObjects [player, _types, 3000];
- {_x setHit ["light_1_hitpoint", 0.97]} forEach _lamps;
- {_x setHit ["light_2_hitpoint", 0.97]} forEach _lamps;
- {_x setHit ["light_3_hitpoint", 0.97]} forEach _lamps;
- {_x setHit ["light_4_hitpoint", 0.97]} forEach _lamps;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement