|
|
(3 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 - PIC 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">Object Control Commands</span><br />
| |
− | ''By [[Chris Cromer]]''</div>
| |
− |
| |
− |
| |
− |
| |
− | Interpreter controls movement of objects around the screen automatically checking the following conditions:
| |
− |
| |
− | * If an object priority is 0 it cannot cross an unconditional barrier (pixels with priority 0).
| |
− | * If an object priority is 15 and a command ignore_block(); has not been given to it, it cannot cross a conditional barrier (pixels with priority 1) and leave the block set using the 'block' command.
| |
− | * If an object has not been given 'ignore.horizon(oi);' Object(i) command, it cannot move above the horizon set using the set_horizon command.
| |
− | * An object should follow the conditions set using
| |
− | object.on.water(oi); and object.on.land(oi); Object(i) commands (see object description commands).
| |
− |
| |
− | <blockquote>Object number 0 is called EGO. It is different from others in that the player may move it around using the keyboard.</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 - PIC 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 - Program Control Commands|< Previous: Program Control Commands]]</span><span style="float: right">[[AGI Command Reference - Object Description Commands|Next: Object Description Commands >]]</span>
| |
− |
| |
− |
| |
− |
| |
− | [[Category:Logic]]
| |
− | [[Category:Commands]]
| |
− | [[Category:References]]
| |
− | [[Category:Tutorials]]
| |
− | [[Category:Objects]]
| |