Advertisement
Guest User

Untitled

a guest
May 8th, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. //Opfor HQ
  2. //HQArray
  3. randomHQArray = [];
  4. 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,
  5. 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];
  6. if (isserver) then {
  7. {
  8. if ((getPos zonebase) distance (getpos _x) < 2000) then
  9. {randomHQArray = randomHQArray + [_x]};
  10. } foreach randomHQSpawn;
  11. HQtrigselect = randomHQArray call BIS_fnc_selectRandom;
  12. opforhq setpos (getpos HQtrigselect);
  13. sleep 2;
  14. hqstatic1 attachTo [opforhq,[5,1,8.6]];
  15. hqstatic2 attachTo [opforhq,[-2,4.5,6.6]];
  16. hqstatic3 attachTo [opforhq,[-2.6,-4.7,6.3]];
  17. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement