GrizzlyVzla Posted March 2, 2020 Posted March 2, 2020 Hello friends! i want to make a mp mission for air refuel training and practice and want implement a series of goals when a client make a full refuel send a text message that says "congratulations you made a full refuel RTB" and then give to this client a score...how i can do it? better in moose...i aprecciate any help with this! [sIGPIC][/sIGPIC]
TonyG Posted March 2, 2020 Posted March 2, 2020 (edited) I used this in a SP mission as part of a checkride. This is targeted at a particular unit number in the mission. This was done with MIST. if Unit.getByName('747') then if Unit.getByName('747'):getFuel() > 0.6 then trigger.action.outText('Congrats your fuel load is greater than 60%', 30) trigger.action.setUserFlag(1, true) end end Here's the mission it was used in, it is a night AAR and land ICLS recovery mission in either the Tomcat or the Hornet. Hopefully there's better suggestions that will follow, but this worked for me for a limited scope. Edit to add - i chose 60% as I started the aircraft with low fuel and there was a landing to be done after refueling. You can change the 0.6 variable to whatever you desire.BFQ6.miz Edited March 2, 2020 by TonyG 9800X3D, MSI 5080 , G.SKILL 64GB DDR5-6000, Win 11, MSI X870, 2/4TB nVME, Quest 3, OpenHornet Pit
GrizzlyVzla Posted March 2, 2020 Author Posted March 2, 2020 Thanks! i will try this! [sIGPIC][/sIGPIC]
GrizzlyVzla Posted March 3, 2020 Author Posted March 3, 2020 Thanks @TonyG it works perfect!!! [sIGPIC][/sIGPIC]
Recommended Posts