algherghezghez Posted July 3, 2022 Share Posted July 3, 2022 Is it possible to create a script to completely refuel a client aircraft in the air without using normal air to air refuelling capabilities? I.e. setting full fuel for an f-5 once it is near a tanker? Would be useful for mission designing Link to comment Share on other sites More sharing options...
toutenglisse Posted July 3, 2022 Share Posted July 3, 2022 (edited) @algherghezghez yes it is possible, but while it does work with both "Client" or "Player' units, it will only work in singleplayer (as it respawns inside a "Player" skill aircraft only - not possible to respawn inside a client aircraft - it would destroy existing Player unit each time another one use the respawn by refuel) I attached a .miz example. Choose hornet/viper client slot and enter inside the moving zone attached to tanker (close to it). When you are inside there is a little lag while you respawn with full fuel tanks, with a message. The script gets all initial datas from your aircraft, and respawns it with the fuel maxed out (and position/speed updated). EDIT : as a downside effect, it also restore initial AC conditions... (no damage, initial weapons loadout) If you don't have the hornet/viper change the type to one you have in mission editor, change skill to player or client and reduce the fuel to very low. test-auto-air-refuel.miz Edited July 3, 2022 by toutenglisse example/script correction Link to comment Share on other sites More sharing options...
Recommended Posts