splatsh 10 Posted January 23, 2011 This code will spawn one MtvrRefuel on my transporthelo in air: _spawntype = [position transporthelo, 0, "MtvrRefuel", WEST] call bis_fnc_spawnvehicle; 1) How to do if I want the MtvrRefuel to spawn 5 meter under the transporthelo? Can my transporthelo fly with this MtvrRefuel attached with attachTo command? If yes then: 2) How to attach this MtvrRefuel to this transporthelo, so its attached like 5 meter under the transporthelo with code? 3) How to release this MtvrRefuel from transporthelo with code? Share this post Link to post Share on other sites
f2k sel 164 Posted January 23, 2011 I would spawn or have it placed on the ground in a safe place then use the attachto command to place it in the aircraft. To attach the truck to the heli truckname attachto [heliname,[0,0,-5]] A very simple way to release the truck would be to use a trigger set to radio and in the on act box put detach truckname A better way would be to use the addaction command but this would take a little more effort and I'm a bit rusty. Share this post Link to post Share on other sites
splatsh 10 Posted January 24, 2011 Nice, thanks. Now I can build some nice support =) Share this post Link to post Share on other sites