GRAAL Commands:
These are all the commands that can be used in the ACTION, DACT, and
LACT statements, as well as in cutscene files.
General program flow control
W(ait) Make a pause
EXIT Stop searching for commands to execute
REDO Re-run current input sentence
CUTSCENE Execute a cutscene
COMAREA Hide or show the command area
MARK Mark current position
RESUME Resume marked position
QUIT Quit GRAAL
SAVE Save game at the last MARK
LOAD Load a saved game
EXEC Execute a cli command or program
TRACE Start or stop single-step trace mode
Timed events
DOAFTER Set a timer
CANCEL Cancel a timer
Dialogue control
DSET Start / change a dialogue
LINE Change dialogue line number
EDLG End a dialogue
Sentence control
OBJ1 / OBJ2 Change object number
VERB Change verb number
Room control
GOTO Go to a new room
SETRF Set room flag value
ADDRF Add to room flag value
DECRF Decrease room flag value
SHOWEXIT Show a hideen exit
HIDEEXIT Hide an exit
"Speech"
SAY Make character speak
THINK Make character think
RESP Make speaking partner respond
Object manipulation
HANDLE Make character handle object
PICK Make character pick up object
GET Add object to inventory
PUT Remove object from inventory
INVENTORY Change the inventory
NAME Alter the name of an object
ICON Alter the icon image for inventory
PREP Alter the preposition for an object
NEWOBJ Create or modify an object
SETOF Set object flag value
ADDOF Add to object flag value
DECOF Decrease object flag value
Object display
OMOVE Move and animate object
SHOW Show object
HIDE Hide object
OBJONTOP Put object on top of other objects
Main character display
CIMG Change character image
CMOVE Move character
WALK_SPEED Main character walking speed
MOBJ Move character next to object
MEXIT Move character to exit
CPOS Change character position
CHAR Hide / display character
SWITCH Switch controlled character
FOLLOW Make another character follow
Floor control
FLOOR Define floor
NFLOOR Set number of floors
SETFLOOR Change character's floor
String manipulation
PROMPT Prompt player for string input
SETVAR Set a string variable
Audio control
TRACK Soundtracker module control
EFFECT Pre-load a sound effect
SOUND Play a pre-loaded sound effect
SAMLOAD Load raw or IFF sample
SAM Sample control
Graphics control
CLPART Load a clipart picture file
IMGS Grab images from clipart picture
HOTSP Alter the hotspot of an image
LIGHTS Fade scene area in or out
COLOUR Change a single colour
FADE Fade one colour to another
CAMERA Pan the camera to any part of background
TITLE Display / remove a title screen
TYPE Type text on title screen
TEXT Display text in scene area
BOBON Show a BOB
BOBOFF Remove a BOB
PIMG Paste an image
COMGR Paste an image in command area
Time and date manipulation
SETDATE Set the date
SETTIME Set the time
ADDTIME Advance the time
SAVETIME Save the current time and date
RESTORETIME Restore the saved time and date
Special Cutscene commands:
NOBREAK Disable [Esc] in cutscene
FINAL Marks cutscene [Esc] resume point