< Control flow Index Motion along a path >

Interface Commands

Command

Item typeCommand
Descriptiona command to control the game interface
Actionperforms the command
Conditionreflects the result of the command

KeyTypeDefaultDescription
commandintthe command id
numberParamint0an optional numeric parameter
stringParamstring""an optional string parameter

Command IDs

The following table shows all available command ids and their parameters. The constants for the command and parameter ids are defined in the definitions file.

commandnumberstringdescription
MENU_NEWCOMMANDnew game
ENABLEenable new in menu
DISABLEdisable new in menu
MENU_EXITCOMMANDexit game
ENABLEenable exit in menu
DISABLEdisable exit in menu
MENU_OPENCOMMANDfile nameopen game (dialog box, if no file name)
ENABLEenable open in menu
DISABLEdisable open in menu
MENU_SAVECOMMANDfile namesave game (dialog box, if no file name)
ENABLEenable save in menu
DISABLEdisable save in menu
MENU_INFOCOMMANDshow info
ENABLEenable info in menu
DISABLEdisable info in menu
MENU_OPTIONSCOMMANDshow options
ENABLEenable options in menu
DISABLEdisable options in menu
MENU_INVENTORYCOMMANDopen inventory
ENABLEenable inventory in menu
DISABLEdisable inventory in menu
MENU_DIARYCOMMANDopen diary
ENABLEenable diary in menu
DISABLEdisable diary in menu
MENU_ALLENABLEenable all menu buttons
DISABLEdisable all menu buttons
INPUT_SCENEENABLEenable user user input in scene
DISABLEdisable user input in scene
INPUT_INVENTORYENABLEenable user user input in inventory
DISABLEdisable user input in inventory
INPUT_DIALOGENABLEenable user user input in dialog
DISABLEdisable user input in dialog
INPUT_KEYBOARDENABLEenable keyboard input (for KeyInput)
DISABLEdisable keyboard input (for KeyInput)
INPUT_MENUENABLEenable ESC/F10 to open menu
DISABLEdisable ESC/F10 to open menu
INPUT_ALLENABLEenable all user input
DISABLEdisable all user input
MESSAGEmessage textdisplays a message box
QUESTIONquestion textdisplays a question box (use item as condition for result)
INV_STOREinventory idstores the inventory content to the given id
INV_STORE_ADDinventory idadds the inventory content to the given id
INV_STORE_MERGEinventory idadds the inventory content to the given id (without duplicates)
INV_RESTOREinventory idrestores the stored inventory content from the given id
INV_RESTORE_ADDinventory idadds the stored inventory content from the given id
INV_RESTORE_MERGEinventory idadds the stored inventory content from the given id (without duplicates)
INV_DELETEinventory iddeletes the stored inventory content at the given id
FIND_FILEfile namesets the condition to true, if the file exists, otherwise to false
ADD_DIARYopens the add diary dialog window
OPT_MOUSE_ADJUST0/1sets the adjust mouse position option
OPT_DIATY_MULTIPLE0/1sets the multiple diary entries option
OPT_DIALOG_WAIT0/1sets the wait on dialog text option
OPT_SCENE_SCROLL0/1sets the scroll scene to player character option
OPT_BUFFER_SIZE5...1000sets the image buffer option
OPT_MOUSE_TOLERANCE0...50sets the mouse tolerance option

The menu commands allow to access the menu functionality from the game. In addition, single or all menu commands as well as the input may be disabled and enabled again.

The inventory commands allow to remember the content of the inventory and to restore it later. Using arbitrary integer ids, several contents may be stored and restored. This may be useful to switch a character during the game and to exchange the inventory content accordingly.