/* Auhtor: Natic | Technic-Zone.de Date: 06.04.2019 Nobody is allowed to use or edit this Script without my Permissions */ private ["_side","_alarm","_pos","_marker","_fire_fnc","_obj_fire"]; _alarm = this select 1; _pos = call BIS_fnc_randomPos; _marker = createMarkerLocal [format["BMZ_marker"]]; _marker setMarkerColorLocal "ColorRed"; _marker setMarkerTypeLocal "mil_warning"; _marker setMarkerTextLocal format["!!! BMZ EINGELAUFEN !!!"]; //1 = _marker spawn {sleep 500; deleteMarkerLocal _this;}; //abgeschaltet, da man die BMZ via Dialog - Btn ausschaltet sleep 3; call life_fnc_BMZ_msg; sleep 10; //create fire _markers = ["BMZ_marker"]; _ranges = []; { _ranges set [count _ranges, (player distance getMarkerPos _x)]; } forEach _markers; while (true) do { sleep 1; if (player distance _markers < 50) then { _fire_fnc = "Land_HelipadEmpty_F" createVehicle position getMarkerPos "BMZ_marker"; _fire_fnc = missionNamespace setVariable ["BMZ_fire"]; //set fire Variable _obj_fire = missionNamespace getVariable ["BMZ_fire",objNull]; //get Fire Variable _obj_fire = this addAction ["", {"test_EmptyObjectForFireBig" createVehicle position _fire_fnc}]; sleep 1; } else {}; };