|
|
(4 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
− | [[AGI Tutorials|Tutorials Table of Contents]]<br />
| |
− | [[AGI Command Reference|AGI Command Reference Index]]<br />
| |
| | | |
− | <div align="center">
| |
− | Page:
| |
− | [[AGI Command Reference - Arithmetic Commands|1]] |
| |
− | [[AGI Command Reference - Commands to Load and unLoad Resources|2]] |
| |
− | [[AGI Command Reference - Program Control Commands|3]] |
| |
− | [[AGI Command Reference - Object Control Commands|4]] |
| |
− | [[AGI Command Reference - Object Description Commands|5]] |
| |
− | [[AGI Command Reference - Object Motion Control Commands|6]] |
| |
− | [[AGI Command Reference - Inventory Item Management Commands|7]] |
| |
− | [[AGI Command Reference - Picture Resource Management Commands|8]] |
| |
− | [[AGI Command Reference - Sound Resource Management Commands|9]] |
| |
− | [[AGI Command Reference - Text Management Commands|10]] |
| |
− | [[AGI Command Reference - String Management Commands|11]] |
| |
− | [[AGI Command Reference - Initialization Commands|12]] |
| |
− | [[AGI Command Reference - Menu Management Commands|13]] |
| |
− | [[AGI Command Reference - Test Commands|14]] |
| |
− | [[AGI Command Reference - Other Commands|15]] |
| |
− | [[AGI Command Reference - Unknown Commands|16]]
| |
− | </div><br />
| |
− |
| |
− | <div align="center"><span style="font-size: 22pt">Other Commands</span><br />
| |
− | ''By [[Chris Cromer]]''</div>
| |
− |
| |
− |
| |
− |
| |
− | == <br />configure.screen(a, b, c); ==
| |
− |
| |
− | <blockquote>Sets position of lines on the screen:
| |
− | :a = 1 (minimum line number for print);
| |
− | :b - user input line;
| |
− | :c - status line.</blockquote>
| |
− |
| |
− | == obj.status.v(n); ==
| |
− |
| |
− | <blockquote>Prints a message for the object Var (n):<br />
| |
− | Obj [number] x: [coordinate] y: [coordinate] pri: [priority] stepsize:</blockquote>
| |
− |
| |
− |
| |
− | == show.mem(); ==
| |
− |
| |
− | <blockquote>Displays a report of the interpreter memory status.</blockquote>
| |
− |
| |
− | == show.pri.screen(); ==
| |
− |
| |
− | <blockquote>Shows priorities of the screen pixels. Priority n is shown as color number n (see color setting commands in I.1.2.1.1).</blockquote>
| |
− |
| |
− | == show.obj(n); ==
| |
− |
| |
− | <blockquote>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.<br />
| |
− | <br />
| |
− | '''Notes:'''<br />
| |
− | That's what they say but I suspect they mean OBJECT n, not VIEW resource.<br />
| |
− | 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.</blockquote>
| |
− |
| |
− | == shake.screen(n); ==
| |
− |
| |
− | <blockquote>The screen shakes n times.</blockquote>
| |
− |
| |
− | == echo.line(); ==
| |
− |
| |
− | <blockquote>The last line entered by the user is displayed in the input line.</blockquote>
| |
− |
| |
− | == cancel.line(); ==
| |
− |
| |
− | <blockquote>Input line is cleared.</blockquote>
| |
− |
| |
− | == close.window(); ==
| |
− |
| |
− | <blockquote>If there is a text window on the screen, it is removed.</blockquote>
| |
− |
| |
− | == open.dialogue(); close.dialogue(); ==
| |
− |
| |
− | <blockquote>Enables and disables get_string and get_num commands if prevent_input has been issued.</blockquote>
| |
− |
| |
− | == restart.game(); ==
| |
− |
| |
− | <blockquote>Restarts the game from the very beginning.</blockquote>
| |
− |
| |
− | == save.game(); restore.game(); ==
| |
− |
| |
− | <blockquote>These command save and restore the current state of the game into disk files</blockquote>.
| |
− |
| |
− | == pause(); ==
| |
− |
| |
− | <blockquote>Stops the interpreter until any key is pressed.</blockquote>
| |
− |
| |
− | == quit(n); ==
| |
− |
| |
− | <blockquote>Exits the interpreter.<br />
| |
− | If n = 1, quits immediately<br />
| |
− | If n = 0, asks "Press ENTER to quit.", "Press ESC to continue."</blockquote>
| |
− |
| |
− | == init.joy(); ==
| |
− |
| |
− | <blockquote>Initialize joystick.</blockquote>
| |
− |
| |
− | == toggle.monitor(); ==
| |
− |
| |
− | <blockquote>Switch RGB monitor into the graphics mode.</blockquote>
| |
− |
| |
− | == upper.left(); ==
| |
− |
| |
− | <blockquote>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.</blockquote>
| |
− |
| |
− |
| |
− |
| |
− | <div align="center">
| |
− | Page:
| |
− | [[AGI Command Reference - Arithmetic Commands|1]] |
| |
− | [[AGI Command Reference - Commands to Load and unLoad Resources|2]] |
| |
− | [[AGI Command Reference - Program Control Commands|3]] |
| |
− | [[AGI Command Reference - Object Control Commands|4]] |
| |
− | [[AGI Command Reference - Object Description Commands|5]] |
| |
− | [[AGI Command Reference - Object Motion Control Commands|6]] |
| |
− | [[AGI Command Reference - Inventory Item Management Commands|7]] |
| |
− | [[AGI Command Reference - Picture Resource Management Commands|8]] |
| |
− | [[AGI Command Reference - Sound Resource Management Commands|9]] |
| |
− | [[AGI Command Reference - Text Management Commands|10]] |
| |
− | [[AGI Command Reference - String Management Commands|11]] |
| |
− | [[AGI Command Reference - Initialization Commands|12]] |
| |
− | [[AGI Command Reference - Menu Management Commands|13]] |
| |
− | [[AGI Command Reference - Test Commands|14]] |
| |
− | [[AGI Command Reference - Other Commands|15]] |
| |
− | [[AGI Command Reference - Unknown Commands|16]]
| |
− | </div><br />
| |
− |
| |
− | [[AGI Tutorials|Tutorials Table of Contents]]<br />
| |
− | [[AGI Command Reference|AGI Command Reference Index]]
| |
− |
| |
− | <span style="float: left">[[AGI Command Reference - Test Commands|< Previous: Test Commands]]</span><span style="float: right">[[AGI Command Reference - Unknown Commands|Next: Unknown Commands >]]</span>
| |
− |
| |
− |
| |
− |
| |
− | [[Category:Logic]]
| |
− | [[Category:Commands]]
| |
− | [[Category:References]]
| |
− | [[Category:Tutorials]]
| |