Jump to content

How can i make an air refuel mp mission with moose script?


GrizzlyVzla

Recommended Posts

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]

Link to comment
Share on other sites

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 by TonyG
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...