vissarion1917 1 Posted June 22, 2024 Hello!! I am trying to spawn an air vehicle with its crew and with a group of soldiers inside (as a cargo) through scripting. I perfectly know how to do it with land vehciles, but with air vehicles, it just doesn't work! Here is my code: lax=3748; lay=3748; laz=140; _laposition=[lax,lay,laz]; pierre=createVehicle ["CUP_B_AC47_Spooky_USA", [0,0,0], [], 0, "FLY"]; _grp=createVehicleCrew pierre; pierre setVelocityModelSpace [0,100,0]; pierre setPosATL _laposition; grupit=createGroup west; _soldier=grupit createUnit ["CUP_B_CDF_Militia_SNW", [0,0,0], [], 0, "CARGO"]; grupit createUnit ["CUP_B_CDF_Soldier_MG_FST", [0,0,0], [], 0, "CARGO"]; grupit createUnit ["CUP_B_CDF_Soldier_MG_FST", [0,0,0], [], 0, "CARGO"]; {_x moveInCargo pierre;} forEach units grupit; selectPlayer _soldier; Where am I wrong? Thank you in advance!😄 Share this post Link to post Share on other sites
JCataclisma 81 Posted June 22, 2024 Hello! Try it by adding a "flyInHeight" line for "pierre", for starters, and see whether it helps. For instance: pierre flyInHeight 77; // or you could try the 'forced' syntax: pierre flyInHeight [77, true]; https://community.bistudio.com/wiki/flyInHeight Share this post Link to post Share on other sites
Play3r 147 Posted June 22, 2024 what does not work don't the group spawn, don't the heli spawn, don't you not get a player in the group? Share this post Link to post Share on other sites