strannix 10 Posted September 23, 2013 Hi I'm looking to assign a Civ to a AC-130X as a pilot, Ive tried using (name moveindriver vehicle) and the others but no success. Anyone help me out here? Im also a little confused on how to add GPS & Radio into the unit loadslot, IE not the units inventory space. - Strannix Share this post Link to post Share on other sites
kylania 567 Posted September 23, 2013 You should have it right, just make sure you have the names right. Name your CIV unit spectrePilot and name your AC-130X spectre then: spectrePilot assignAsDriver spectre; spectrePilot moveInDriver spectre; To add a GPS or Radio use: spectrePilot linkItem "ItemGPS"; spectrePilot linkItem "ItemRadio"; You could also use: {spectrePilot addItem _x; spectrePilot assignItem _x]} forEach ["ItemGPS", "ItemRadio"]; Share this post Link to post Share on other sites
strannix 10 Posted September 23, 2013 You should have it right, just make sure you have the names right. Thanks, I can assign custom units as pilots Strannix assignasdriver AirTEAM; Strannix moveindriver AirTEAM ;) I can't however seem to assign units to the Gunner & Commander seats of the AC-130X. Example: Signex assignasgunner AirTEAM; Signex moveingunner AirTEAM; Example: Sigit assignasturret [AirTEAM,[0,1]]; Sigit moveinturret [AirTEAM,[0,1]]; No avail.... Share this post Link to post Share on other sites
kylania 567 Posted September 23, 2013 Remember the syntax is: unitName moveInDriver vehicleName; So unless you named your unit on the map "Strannix" and you named your airplane "AirTEAM" that code won't work. I don't have that mod at the moment, so I can't check exactly what slots are available for it though. Share this post Link to post Share on other sites
strannix 10 Posted September 23, 2013 I don't have that mod at the moment, so I can't check exactly what slots are available for it though. Yep, thanks for the help anyways, assign pilot Syntax works fine and assign gunner works okay on actual ARMA vehicles whereas its difficult for custom mods. Share this post Link to post Share on other sites
kylania 567 Posted September 23, 2013 Downloaded the mod. These work: Pilot: player moveInDriver plane; 105mm: player moveInGunner plane; or player moveInTurret[plane, [0]]; 25mm: player moveInTurret[plane, [1]]; Share this post Link to post Share on other sites
strannix 10 Posted September 23, 2013 Downloaded the mod. These work: ah!.... many thanks! your help has been invaluable. The last two syntax's work. Thanks! :811: Share this post Link to post Share on other sites