
Guest
I'm guessing this is probably pretty easy to do. I'm just not familiar enough with SQF. The first place I'm looking to do it is with some loot crates. Basically I want them to show up in positions, randomly selected from an array, per restart.
So for instance:
positionArray = [[8103.18,13557.3],[8102.68,13476.3],[8020.13,13633.4],[8098.68,13542.8]];
positon = positionArray[floor(random positionArray.length)];
_this = createVehicle ["TKVehicleBox_EP1", position, [], 0, "CAN_COLLIDE"];
_this setPos [position];
Thanks in advance!
-Silk