Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Opfor HQ
- //HQArray
- randomHQArray = [];
- randomHQSpawn = [HQtrig,HQtrig_1,HQtrig_2,HQtrig_3,HQtrig_4,HQtrig_5,HQtrig_6,HQtrig_7,HQtrig_8,HQtrig_9,HQtrig_10,HQtrig_11,HQtrig_12,HQtrig_13,HQtrig_14,HQtrig_15,
- HQtrig_16,HQtrig_17,HQtrig_18,HQtrig_19,HQtrig_20,HQtrig_21,HQtrig_22,HQtrig_23,HQtrig_24,HQtrig_25,HQtrig_26,HQtrig_27,HQtrig_28];
- if (isserver) then {
- {
- if ((getPos zonebase) distance (getpos _x) < 2000) then
- {randomHQArray = randomHQArray + [_x]};
- } foreach randomHQSpawn;
- HQtrigselect = randomHQArray call BIS_fnc_selectRandom;
- opforhq setpos (getpos HQtrigselect);
- sleep 2;
- hqstatic1 attachTo [opforhq,[5,1,8.6]];
- hqstatic2 attachTo [opforhq,[-2,4.5,6.6]];
- hqstatic3 attachTo [opforhq,[-2.6,-4.7,6.3]];
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement