Jump to content

Recommended Posts

Posted

Hi

 

I am enjoying creating lots of custom user missions.

 

What is the best way to make an ending when you switch off your aircraft after you return to base?

 

 

 

 

Sent from my iPhone using Tapatalk Pro

Posted

Assuming this is for single player, with mission built for a single aircraft set to "Player" and not a sandbox style op, you can use the COCKPIT ARGUMENT WITHIN RANGE condition to determine if the player has switched their battery switch off. You can find the arguments and values either using the model viewer or the clickabledata.lua file in /mods/aircraft/AIRCRAFTNAME/cockpit. They will vary from aircraft to aircraft.

 

Combine this with a flag when your mission is accomplished and a check that the player is within a zone encompassing the airbase, and below a certain speed, and the combined factors should produce the desired effect.

  • Recently Browsing   0 members

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