yoannis1995 10 Posted July 7, 2014 Hi, I'm trying to create a flying drone with a script but I can't get it to work... If I use the command CreateVehicle the drone appears empty and crashes and if I use the function SpawnVehicle like this: [getMarkerPos uav1, 180, "B_UAV_02_F", WEST] call bis_fnc_spawnvehicle; I get an error message ("0 elements provided, 3 expected...") and it doesn't work... How can I fix that ? Share this post Link to post Share on other sites
barbolani 198 Posted July 7, 2014 It's been 2 months since I found this problem. Can't remember everything I did, but I remember the solution: createVehicle + createVehicleCrew. This way you make a flying drone which will be autonomous on waypoints, or you may join the crew to another existing group... Share this post Link to post Share on other sites
Lala14 135 Posted July 7, 2014 there is an error getMarkerPos "uav1" also what barbolani is saying is this _uav = "B_UAV_02_F" createVehicle (getMarkerPos "uav1"); createVehicleCrew _uav; Share this post Link to post Share on other sites