From 0e7ebff9a2ffef4ab0ba3e9354ac0ab7be4ed983 Mon Sep 17 00:00:00 2001
From: FlightControl
The above menus classes are derived from 2 main abstract classes defined within the MOOSE framework (so don't use these):
+The underlying base menu classes are NOT to be used within your missions. -These are simply abstract base classes defining a couple of fields that are used by the -derived MENU_ classes to manage menus.
+The #MENU_BASE class defines the main MENU class where other MENU classes are derived from.
- -The #MENUCOMMANDBASE class defines the main MENU class where other MENU COMMAND_ classes are derived from, in order to set commands.
- -The next menus define the MENU classes that you can use within your missions.
- -The underlying classes manage the menus for a complete mission file.
- -The Menu#MENU_MISSION class manages the main menus for a complete mission.
-You can add menus with the MENU_MISSION.New method, which constructs a MENU_MISSION object and returns you the object reference.
-Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENU_MISSION.Remove.
The Menu#MENUMISSIONCOMMAND class manages the command menus for a complete mission, which allow players to execute functions during mission execution.
-You can add menus with the MENUMISSIONCOMMAND.New method, which constructs a MENUMISSIONCOMMAND object and returns you the object reference.
-Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENUMISSIONCOMMAND.Remove.
The underlying classes manage the menus for whole coalitions.
- -The Menu#MENU_COALITION class manages the main menus for coalitions.
-You can add menus with the MENU_COALITION.New method, which constructs a MENU_COALITION object and returns you the object reference.
-Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENU_COALITION.Remove.
The Menu#MENUCOALITIONCOMMAND class manages the command menus for coalitions, which allow players to execute functions during mission execution.
-You can add menus with the MENUCOALITIONCOMMAND.New method, which constructs a MENUCOALITIONCOMMAND object and returns you the object reference.
-Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENUCOALITIONCOMMAND.Remove.
The underlying classes manage the menus for groups. Note that groups can be inactive, alive or can be destroyed.
- -The Menu#MENU_GROUP class manages the main menus for coalitions.
-You can add menus with the MENU_GROUP.New method, which constructs a MENU_GROUP object and returns you the object reference.
-Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENU_GROUP.Remove.
The Menu#MENUGROUPCOMMAND class manages the command menus for coalitions, which allow players to execute functions during mission execution.
-You can add menus with the MENUGROUPCOMMAND.New method, which constructs a MENUGROUPCOMMAND object and returns you the object reference.
-Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENUGROUPCOMMAND.Remove.
The underlying classes manage the menus for units with skill level client or player.
- -The Menu#MENU_CLIENT class manages the main menus for coalitions.
-You can add menus with the MENU_CLIENT.New method, which constructs a MENU_CLIENT object and returns you the object reference.
-Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENU_CLIENT.Remove.
The Menu#MENUCLIENTCOMMAND class manages the command menus for coalitions, which allow players to execute functions during mission execution.
-You can add menus with the MENUCLIENTCOMMAND.New method, which constructs a MENUCLIENTCOMMAND object and returns you the object reference.
-Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENUCLIENTCOMMAND.Remove.
| MENU_BASE |
-
+MENU_BASE class, extends Base#BASE+The MENU_BASE class defines the main MENU class where other MENU classes are derived from. |
| MENU_CLIENT |
+MENU_CLIENT class, extends Menu#MENU_BASE+The MENU_CLIENT class manages the main menus for coalitions. |
| MENU_CLIENT_COMMAND |
+MENUCLIENTCOMMAND class, extends Menu#MENUCOMMANDBASE+The MENUCLIENTCOMMAND class manages the command menus for coalitions, which allow players to execute functions during mission execution. |
| MENU_COALITION |
+MENU_COALITION class, extends Menu#MENU_BASE+The Menu#MENU_COALITION class manages the main menus for coalitions. |
| MENU_COALITION_COMMAND |
+MENUCOALITIONCOMMAND class, extends Menu#MENUCOMMANDBASE+The MENUCOALITIONCOMMAND class manages the command menus for coalitions, which allow players to execute functions during mission execution. |
| MENU_COMMAND_BASE |
-
+MENUCOMMANDBASE class, extends Base#BASE++ The MENUCOMMANDBASE class defines the main MENU class where other MENU COMMAND_ +classes are derived from, in order to set commands. |
| MENU_GROUP |
+MENU_GROUP class, extends Menu#MENU_BASE+The MENU_GROUP class manages the main menus for coalitions. |
| MENU_GROUP_COMMAND |
+MENUGROUPCOMMAND class, extends Menu#MENUCOMMANDBASE+The Menu#MENUGROUPCOMMAND class manages the command menus for coalitions, which allow players to execute functions during mission execution. |
| MENU_MISSION |
+MENU_MISSION class, extends Menu#MENU_BASE+The MENU_MISSION class manages the main menus for a complete mission. |
| MENU_MISSION_COMMAND |
+MENUMISSIONCOMMAND class, extends Menu#MENUCOMMANDBASE+The MENUMISSIONCOMMAND class manages the command menus for a complete mission, which allow players to execute functions during mission execution. |
MENU_BASE| MENU_BASE.ClassName | -- - | -||||||||||||||||||||||||||||||||||||||||||||||||
| MENU_BASE:GetMenu(MenuText) | - | -||||||||||||||||||||||||||||||||||||||||||||||||
| MENU_BASE.MenuParentPath | -- - | -||||||||||||||||||||||||||||||||||||||||||||||||
| MENU_BASE.MenuPath | -- | ||||||||||||||||||||||||||||||||||||||||||||||||
| MENU_BASE.MenuRemoveParent | - | -||||||||||||||||||||||||||||||||||||||||||||||||
| MENU_BASE.MenuText | -- | ||||||||||||||||||||||||||||||||||||||||||||||||
| MENU_CLIENT.ClassName | -- - | -||||||||||||||||||||||||||||||||||||||||||||||
| MENU_CLIENT:New(Client, MenuText, ParentMenu) |
MENU_CLIENT constructor. @@ -367,12 +287,6 @@ Using this object reference, you can then remove ALL the menus and submenus undeType
|
| MENU_CLIENT_COMMAND.ClassName | -- - | -||||||||||||||||||||||||||||||||||||||||||
| MENU_CLIENT_COMMAND:New(Client, MenuText, ParentMenu, CommandMenuFunction, ...) |
MENUCLIENTCOMMAND constructor. @@ -389,12 +303,6 @@ Using this object reference, you can then remove ALL the menus and submenus undeType
|
| MENU_COALITION.ClassName | -- - | -||||||||||||||||||||||||||||||||||||||
| MENU_COALITION:New(Coalition, MenuText, ParentMenu) |
MENU_COALITION constructor. @@ -417,12 +325,6 @@ Using this object reference, you can then remove ALL the menus and submenus undeType
|
| MENU_COALITION_COMMAND.ClassName | -- - | -||||||||||||||||||||||||||||||||||
| MENU_COALITION_COMMAND:New(Coalition, MenuText, ParentMenu, CommandMenuFunction, CommandMenuArgument, ...) |
MENU_COALITION constructor. @@ -439,24 +341,6 @@ Using this object reference, you can then remove ALL the menus and submenus undeType
|
| MENU_COMMAND_BASE.ClassName | -- - | -||||||||||||||||||||||||||
| MENU_COMMAND_BASE.CommandMenuArgument | -- - | -||||||||||||||||||||||||||
| MENU_COMMAND_BASE.CommandMenuFunction | -- - | -||||||||||||||||||||||||||
| MENU_COMMAND_BASE.MenuCallHandler |
@@ -473,12 +357,6 @@ Using this object reference, you can then remove ALL the menus and submenus unde
Type
|
| MENU_GROUP.ClassName | -- - | -||||||||||||||||||||||
| MENU_GROUP.MenuGroup |
@@ -537,12 +415,6 @@ Using this object reference, you can then remove ALL the menus and submenus unde
Type
|
| MENU_GROUP_COMMAND.ClassName | -- - | -||||||||||||||||||
| MENU_GROUP_COMMAND.MenuGroup |
@@ -595,12 +467,6 @@ Using this object reference, you can then remove ALL the menus and submenus unde
Type
|
| MENU_MISSION.ClassName | -- - | -||||||||||||||
| MENU_MISSION:New(MenuText, ParentMenu) |
MENU_MISSION constructor. @@ -623,12 +489,6 @@ Using this object reference, you can then remove ALL the menus and submenus undeType
|
| MENU_MISSION_COMMAND.ClassName | -- - | -||||||||||
| MENU_MISSION_COMMAND:New(MenuText, ParentMenu, CommandMenuFunction, CommandMenuArgument, ...) |
MENU_MISSION constructor. @@ -653,7 +513,11 @@ Using this object reference, you can then remove ALL the menus and submenus undeMENU_BASE class, extends Base#BASE+The MENU_BASE class defines the main MENU class where other MENU classes are derived from. + +This is an abstract class, so don't use it. MENU_CLIENT class, extends Menu#MENU_BASE+The MENU_CLIENT class manages the main menus for coalitions. + + +You can add menus with the MENU_CLIENT.New method, which constructs a MENU_CLIENT object and returns you the object reference. +Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENU_CLIENT.Remove. + + +Usage:+
MENUCLIENTCOMMAND class, extends Menu#MENUCOMMANDBASE+ +The MENUCLIENTCOMMAND class manages the command menus for coalitions, which allow players to execute functions during mission execution. + + +You can add menus with the MENUCLIENTCOMMAND.New method, which constructs a MENUCLIENTCOMMAND object and returns you the object reference. +Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENUCLIENTCOMMAND.Remove. MENU_COALITION class, extends Menu#MENU_BASE+The Menu#MENU_COALITION class manages the main menus for coalitions. + + +You can add menus with the MENU_COALITION.New method, which constructs a MENU_COALITION object and returns you the object reference. +Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENU_COALITION.Remove. + + + +Usage:+
MENUCOALITIONCOMMAND class, extends Menu#MENUCOMMANDBASE+ +The MENUCOALITIONCOMMAND class manages the command menus for coalitions, which allow players to execute functions during mission execution. + + +You can add menus with the MENUCOALITIONCOMMAND.New method, which constructs a MENUCOALITIONCOMMAND object and returns you the object reference. +Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENUCOALITIONCOMMAND.Remove. MENUCOMMANDBASE class, extends Base#BASE++ The MENUCOMMANDBASE class defines the main MENU class where other MENU COMMAND_ +classes are derived from, in order to set commands. MENU_GROUP class, extends Menu#MENU_BASE+The MENU_GROUP class manages the main menus for coalitions. + + +You can add menus with the MENU_GROUP.New method, which constructs a MENU_GROUP object and returns you the object reference. +Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENU_GROUP.Remove. + + +Usage:+
MENUGROUPCOMMAND class, extends Menu#MENUCOMMANDBASE+ +The Menu#MENUGROUPCOMMAND class manages the command menus for coalitions, which allow players to execute functions during mission execution. + + +You can add menus with the MENUGROUPCOMMAND.New method, which constructs a MENUGROUPCOMMAND object and returns you the object reference. +Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENUGROUPCOMMAND.Remove. MENU_MISSION class, extends Menu#MENU_BASE+The MENU_MISSION class manages the main menus for a complete mission. + + +You can add menus with the MENU_MISSION.New method, which constructs a MENU_MISSION object and returns you the object reference. +Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENU_MISSION.Remove. MENUMISSIONCOMMAND class, extends Menu#MENUCOMMANDBASE+ +The MENUMISSIONCOMMAND class manages the command menus for a complete mission, which allow players to execute functions during mission execution. + + +You can add menus with the MENUMISSIONCOMMAND.New method, which constructs a MENUMISSIONCOMMAND object and returns you the object reference. +Using this object reference, you can then remove ALL the menus and submenus underlying automatically with MENUMISSIONCOMMAND.Remove. Type
|
| MESSAGE |
+MESSAGE class, extends Base#BASE+Message System to display Messages to Clients, Coalitions or All. |
MESSAGE| MESSAGE.ClassName | -- - | -
| MESSAGE.MessageCategory | -- - | -
| MESSAGE.MessageID | -- - | -
| MESSAGE:New(MessageText, MessageDuration, MessageCategory) |
Creates a new MESSAGE object. @@ -232,6 +182,40 @@ To send messages, you need to use the To functions.MESSAGE class, extends Base#BASE+ +Message System to display Messages to Clients, Coalitions or All. + + +Messages are shown on the display panel for an amount of seconds, and will then disappear. +Messages can contain a category which is indicating the category of the message. + +MESSAGE construction+ +Messages are created with Message#MESSAGE.New. Note that when the MESSAGE object is created, no message is sent yet. +To send messages, you need to use the To functions. + +Send messages to an audience+ +Messages are sent: + +
Send conditionally to an audience+ +Messages can be sent conditionally to an audience (when a condition is true): + +
Don't repeat the group from Take-Off till Landing and back Take-Off by ReSpawning. +
By default, no InitLimit +
|