Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There is currently 2 comm scripts implemented, one of them is "Surrender" option. This removes the old surrender comm option, and adds a new version. The 2nd, replaces the surrender and drop freight option

Generic Custom Input Event

start - Sent at the start of the input system. Return one of the input arrays. The value will be the one sent when starting the menu, ie from the script command
finished - Sent at the end of the input system, allows any cleanup. Value is null
arguments - This is sent once the input system is closed. Return an array of arguments, these will then be passed to the caller
cancelled - This is sent when the input system is cancelled without selecting an option, IE pressing Escape to close. The value is the id of the input system that was canceled

Custom Menu Events

Some additional events will be used when using a custom menu

Agent Command Events

When using a menu script with agent commands, some additional events are used to control the Diplomacy UI