Files
DayZ-Epoch/SQF/dayz_code/system/mission/namalsk/poi/A2RailGun.sqf
worldwidesorrow b8f201d986 Add namalsk POIs
Fixed Object A2 scenery and converted to compact arrays. Fixed floating objects, objects sticking through walls, and disabled simulation to stop bouncing of some objects. Objects that originally used setPosASL converted to setPosATL. Added some map fixes for Object A2 ladder shaft fall hazards and barracks entrances that required vaulting to enter. Added rail gun spawning with configurable chance. The POI call in init.sqf has the individual POI files listed in an array so server owners can comment them out or remove them if they don't want them.
2023-09-15 12:05:55 -05:00

11 lines
441 B
Plaintext

// DZE Namalsk A2 Rail Gun Spawn Script by JasonTM
// Random Chance of an "Alien Super Weapon" spawning on the second floor of Object A2.
if (random 1 <= _this) then {
local _wh = "WeaponHolder" createVehicle [0,0,0];
_wh setPosATL [4978.17, 6647.25, 17.2435];
_wh setVariable ["permaLoot",true];
_wh addWeaponCargoGlobal ["nsw_er7s",1];
_wh addMagazineCargoGlobal ["nsw_er7mm",2];
//diag_log "Rail gun has spawned at object AII";
};