Hi!
as the tilte says, im looking for a script which spawns a WeaponHolder on every Buildingpos.
this is what ive got, for one position:
_houseList = getPos _trig nearObjects ["House",200];
{
_c = 0;
while { format ["%1", _x buildingPos _c] != "[0,0,0]" } do {_c = _c + 1};
if (_c > 0) then
{
_ranNum = floor(random _c);
_crate = "USBasicAmmunitionBox" createVehicle [0,0,0];
_crate setPos (_x buildingPos _ranNum);
};
sleep 0.123;
} forEach _houseList;
thanks for any help!