AGI Command Reference - Other Commands
From AGI Wiki
By Chris Cromer
By Chris Cromer
- 1 configure.screen(a, b, c);
- 2 obj.status.v(n);
- 3 show.mem();
- 4 show.pri.screen();
- 5 show.obj(n);
- 6 shake.screen(n);
- 7 echo.line();
- 8 cancel.line();
- 9 close.window();
- 10 open.dialogue(); close.dialogue();
- 11 restart.game();
- 12 save.game(); restore.game();
- 13 pause();
- 14 quit(n);
- 15 init.joy();
- 16 toggle.monitor();
- 17 upper.left();
configure.screen(a, b, c);
Sets position of lines on the screen:
- a = 1 (minimum line number for print);
- b - user input line;
- c - status line.
Prints a message for the object Var (n):
Obj [number] x: [coordinate] y: [coordinate] pri: [priority] stepsize:
Displays a report of the interpreter memory status.
Shows priorities of the screen pixels. Priority n is shown as color number n (see color setting commands in I.126.96.36.199).
In the center at the bottom of the screen a cel 0 of loop 0 of the View resource n is shown. In the center of the screen, a message associated with the View resource is printed.
Actually, in this case the argument does refer to the View resource. This is because the View in question isn't meant to be a controlled object but instead is simply the picture and textual description of the an inventory item.
That's what they say but I suspect they mean OBJECT n, not View resource.
The screen shakes n times.
The last line entered by the user is displayed in the input line.
Input line is cleared.
If there is a text window on the screen, it is removed.
Enables and disables get_string and get_num commands if prevent_input has been issued.
Restarts the game from the very beginning.
These command save and restore the current state of the game into disk files.
Stops the interpreter until any key is pressed.
Exits the interpreter.
If n = 1, quits immediatelyIf n = 0, asks "Press ENTER to quit.", "Press ESC to continue."
Switch RGB monitor into the graphics mode.
Usually the crossing by an object of various areas and lines is tracked by the base point (bottom right corner) of its cel. After this command, top left corner is used as such a point.