|
|
Line 1: |
Line 1: |
| [[Tutorials and Guides|Tutorials and Guides Table of Contents]]<br /> | | [[Tutorials and Guides|Tutorials and Guides Table of Contents]]<br /> |
| | | |
− | <div align="center"><span style="font-size: 22pt">AGI Logic Command Reference</span><br /> | + | <div align="center"><span style="font-size: 22pt">AGI Logic Command Reference</span><br /></div> |
− | ''By [[Chris Cromer]]''</div>
| + | The AGI commands provide the "brains" of AGI games. [[Logic]] scripts contain the commands that AGI uses to perform game functions, control game play and manipulate other resources such as [[picture|pictures]] and [[view|views]]. Logic source code is written in a scripting language that can be compiled into pseudo-code, which is what AGI reads during game play. |
| | | |
− |
| + | Although it may seem that AGI is not an overly complex language, it does take a full understanding of its inner workings to be able to successfully create a full featured AGI game. Understanding how the main [[interpreter cycle]] works, as well as how the different resources are loaded and accessed is critical in being able to create workable AGI games. |
| | | |
− | <blockquote> | + | Detailed information is provided in this section on each command available in AGI, as well as a description of syntax rules. There are also some introductory topics dealing with common AGI programming tasks, such as working with objects, the text mode, debugging, etc.<br/> |
− | '''Table of Contents'''
| |
| | | |
− | # [[AGI Command Reference - Arithmetic Commands|Arithmetic Commands]]
| |
− | # [[AGI Command Reference - Commands to Load and unLoad Resources|Commands to Load and unLoad Resources]]
| |
− | # [[AGI Command Reference - Program Control Commands|Program Control Commands]]
| |
− | # [[AGI Command Reference - Object Control Commands|Object Control Commands]]
| |
− | # [[AGI Command Reference - Object Description Commands|Object Description Commands]]
| |
− | # [[AGI Command Reference - Object Motion Control Commands|Object Motion Control Commands]]
| |
− | # [[AGI Command Reference - Inventory Item Management Commands|Inventory Item Management Commands]]
| |
− | # [[AGI Command Reference - Picture Resource Management Commands|Picture Resource Management Commands]]
| |
− | # [[AGI Command Reference - Sound Resource Management Commands|Sound Resource Management Commands]]
| |
− | # [[AGI Command Reference - Text Management Commands|Text Management Commands]]
| |
− | # [[AGI Command Reference - String Management Commands|String Management Commands]]
| |
− | # [[AGI Command Reference - Initialization Commands|Initialization Commands]]
| |
− | # [[AGI Command Reference - Menu Management Commands|Menu Management Commands]]
| |
− | # [[AGI Command Reference - Test Commands|Test Commands]]
| |
− | # [[AGI Command Reference - Other Commands|Other Commands]]
| |
− | # [[AGI Command Reference - Unknown Commands|Unknown Commands]]
| |
− | </blockquote>
| |
− |
| |
− |
| |
− | A large Reference of all the different available AGI logic commands. Thanks to the Sarien team and to [[Nick Sonneveld]] for some info on the unknown commands.
| |
− |
| |
− |
| |
− |
| |
− | <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>
| |
− |
| |
− |
| |
− |
| |
− | [[Tutorials and Guides|Tutorials and Guides Table of Contents]]
| |
− |
| |
− | <span style="float: left"><span class="Inactive">< Previous: </span></span><span style="float: right">[[AGI Command Reference - Arithmetic Commands|Next: Arithmetic Commands >]]</span>
| |
− |
| |
− |
| |
− |
| |
− | [[Category:Logic]]
| |
| [[Category:Commands]] | | [[Category:Commands]] |
| [[Category:References]] | | [[Category:References]] |
− | [[Category:Tutorials]]
| |
Tutorials and Guides Table of Contents
AGI Logic Command Reference
The AGI commands provide the "brains" of AGI games. Logic scripts contain the commands that AGI uses to perform game functions, control game play and manipulate other resources such as pictures and views. Logic source code is written in a scripting language that can be compiled into pseudo-code, which is what AGI reads during game play.
Although it may seem that AGI is not an overly complex language, it does take a full understanding of its inner workings to be able to successfully create a full featured AGI game. Understanding how the main interpreter cycle works, as well as how the different resources are loaded and accessed is critical in being able to create workable AGI games.
Detailed information is provided in this section on each command available in AGI, as well as a description of syntax rules. There are also some introductory topics dealing with common AGI programming tasks, such as working with objects, the text mode, debugging, etc.