Here is the script if anybody is wondering with an example. [[x,y,z],[x,y,z], height, “(limited, normal, or full)”, “(vehicle class name)”, side] call bis_fnc_ambientflyby; Example: [[100,20,30],[200,20,30], 100, “NORMAL”, “B_Plane_CAS_01_dynamicLoadout_F”, WEST] call bis_fnc_ambientflyby;
And if running on dedicated server we remember to wrap it in: if(isServer) then { [[100,20,30],[200,20,30], 100, “NORMAL”, “B_Plane_CAS_01_dynamicLoadout_F”, WEST] call bis_fnc_ambientflyby; }; So that we don't get an aircraft spawn for every player taking part.
Nice one! Just what I was looking for! Thanks Sarge. Here's a script to copy - just change the co-ords and the vehicle type. [[27500+random 300-random 150,25600,50],[27500+random 300-random 150,17500,100],20,"FULL","O_Plane_CAS_02_dynamicLoadout_F",EAST] call bis_fnc_ambientFlyBy;
Hi, thanks for the vid. Is it possible to create Flybys with the air vehicles set to Stealth mode? Aircraft with their lights on during night kind of looks silly when there's a battle. Thanks.
As he said... He set the trigger to activate multiple times! As you see in the video,hes moving forward and back all the time, so the trigger triggers multiple times! ;-)
I believe it's very late to answer this. But from my experiment, it can be done by making a new script in the same init space, separated by semicolon by copying and pasting the same script, changing the coordinate a bit (x and y value are changed +/-50 and y value is +/-10), and the flying formation is made.