Hello, I have small problem.
I have helicopter that spawns at random place in map. I also have opfor car that spawns 3500 - 4200m from the helicopter. Everything works fine BUT the script gives out error everytime I use it. Any way I could fix this ? Maybe I have wrong parameters or smth?
Init.sqf
// SH pos
call compile preprocessfile "SHK_pos\shk_pos_init.sqf";
{ _x setpos (["area1",0,"",[]] call SHK_pos) } foreach [heli];
{ _x setpos ([heli,[3500,4200], random 360,0,[1,250],[250,"B_Plane_CAS_01_F"]] call SHK_pos) } foreach [OpCar1];
OpCar2 setPos (OpCar1 getPos [4,280]);
OpCar3 setPos (OpCar1 getPos [4,100]);
Error code
Edit;
F*ck I'm such an idiot, it's because of the unused parameters on the the first call. Kids, go through your parameters before you post =D