Tricky11 Posted August 21, 2018 Posted August 21, 2018 Afternoon all. I am trying to set up a mission so that when the tanker RTB with bingo fuel it triggers the 2nd tanker to start but i cant find a reliable way of doing so. I know i can put a trigger zone where the tanker lands but what i want is for the second tanker to take off before the 1st lands if you know what i mean? Any ideas on how i could go about it?
feefifofum Posted August 21, 2018 Posted August 21, 2018 (edited) You'll have to write some code. You can use the getFuel function to determine when the tanker is bingo (just run this every fuel seconds and send a message containing the value to determine what value causes the tanker RTB) Once you've determined the bingo value for the tanker, you can run a script to look for that value, and then set a flag true when the bingo value is reached. You can then program a standard start in the GUI; whenever the RTB flag goes true, you can launch the second tanker. Edited August 21, 2018 by feefifofum THE GEORGIAN WAR - OFFICIAL F-15C DLC
feefifofum Posted August 21, 2018 Posted August 21, 2018 If you're looking for a simpler solution you could simply place a zone around the tanker's orbit, set a flag true when the tanker enters it, and check for UNIT OUTSIDE ZONE combined with FLAG IS TRUE to know when the tanker has left the area. THE GEORGIAN WAR - OFFICIAL F-15C DLC
Tricky11 Posted August 21, 2018 Author Posted August 21, 2018 If you're looking for a simpler solution you could simply place a zone around the tanker's orbit, set a flag true when the tanker enters it, and check for UNIT OUTSIDE ZONE combined with FLAG IS TRUE to know when the tanker has left the area. Ahh ok... i will try that... Thanks bud
Recommended Posts