Jump to content

Recommended Posts

Posted

Just wanted to share, and maybe this is simple, and everyone else already knows how to do this but I thought it was kind of cool and wanted to share with the community. A very scalable framework using Moose to create menu items that call functions to spawn or destroy units, ergo allowing users to select a mission, play the mission and repeat if they want to run it again.

Using Moose I created missions that can be selected off of the Comms>Other menu. These missions are able to be executed over and over again by your users, as well as being reset in the event a unit or something gets hung up and you want to basically terminate, or reset the mission to run it again. Resetting is not necessary but can be handy.   Works with dynamic or static spawned players.

The script below will show ground missions, an air based missions and menu items to spawn enemy aircraft to practice air to air engagements. This is extremely scalable and customizable. If you know how to make Moose play a sound I would love to know as I tried a number of different ways to play my OGGs and could not get it to work so used time and triggers in ME to play my sound files. AND, if you know how to make that happen ONLY to the person who selects the menu item that would be amazing.
And as always, if you have a better way, or alternate ideas please share. 

Thanks.

 

First, we create the main menu item,

      Then we create a sub-menu item under that.

              Then we create a menu item under that which calls a function.

Of course you need units in the ME for the functions to call.

 

Mission Menu Sample.lua

  • Like 2
  • Recently Browsing   0 members

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