From b4f5448bdbac999c09df499298f6a5b4ebeac972 Mon Sep 17 00:00:00 2001 From: RandumKiwi Date: Wed, 22 Oct 2008 11:41:54 +0000 Subject: [PATCH] reference updates: newmenu, menuitem, menuinit, changeteam, resetbinds git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3192 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- docs/reference.xml | 63 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 50 insertions(+), 13 deletions(-) diff --git a/docs/reference.xml b/docs/reference.xml index ff2b5607..d2ca506e 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -668,6 +668,27 @@ Turns on/off use of acronyms instead of full modenames in the serverbrowser. + + + + + Resets all binds back to their default values. + + + + This command executes the file /config/resetbinds.cfg which will bind all keys to the values specified in that + file, thus resetting the binds to their default values. + + + + + + + Swaps your player to the enemy team. + + + + Determines if all settings should be reset when the game quits. @@ -1158,9 +1179,9 @@ - Determines if bot waypoints should be seceleted using the crosshair. + Determines if bot waypoints should be selected/placed using the crosshair or by the nearest location to your player. - + Returns the remaining minutes of the currently played game. @@ -1824,14 +1845,18 @@
This section describes identifiers related to the menu gui. - - - Specifies a block of commands to be executed when menu opens. + + Specifies commands to be executed when a menu opens. + + + This command should be placed after newmenu. + + - + @@ -1839,26 +1864,38 @@ + + + All menu commands placed after newmenu (i.e. menuitem, menuitemcheckbox, etc) are added + into the menu until another "newmenu" command is specified. + + - + Creates a new menuitem. - If the action argument is omitted, - then it will be set to the same value as the description. - Upon pressing return, the associated action will be executed. - See config/menus.cfg for examples. + Upon activating the menuitem, the associated command will be executed. + (See config/menus.cfg for examples). If the command argument is omitted, + then it will be set to the same value as the description. If -1 is specified + instead of the command to execute, then no command is executed when activating the item. + If the rollover option is used, the menuitem will execute that command when selecting (but not activating) + the menuitem. + + (Note: To activate the menu item, select it, and either: Click, press SPACE or press ENTER/Return). + - - + + +