Jump to content

Scripted Refueling / Re-arm / Repair?

Recommended Posts

Hi all,


   is it possible to use ME to repair, re-arm or re-fuel a player-controlled unit? For example, I'd like to implement an 'easy aerial refueling' - if you stay within 100 feet of the tanker for a minute or so (easy to do in ME), your plane's fuel is topped off (no idea how to do that). Same with easy re-arm or repair: if you stand for 30 seconds within a 100 foot radius on a base (easy), you are re-armed and repaired (how?) - without having to shut down and later re-start the engines. 

Is there an easy way to accomplish one, two or all of the above?

Link to post
Share on other sites

There is no such functionality that exists like that in the scripting engine. The closest thing to it is to respawn the aircraft, which doesn't work on "client" aircraft and thus only works in single player. Plus it'd be like a fresh airstart jet where you can't read or set the avionics to whatever state they were last in. 

The right man in the wrong place makes all the difference in the world.

Current Projects: Scripting Wiki, Something...

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread), SLMOD, IADScript, Mission Editing Wiki!, Mission Building Forum

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...