AGI Command Reference - Object Control Commands: Difference between revisions
From Sierra Wiki
Jump to navigationJump to search
sierraw>Andrew Branscom No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 23: | Line 23: | ||
<div align="center"><span style="font-size: 22pt">Object Control Commands</span><br /> | <div align="center"><span style="font-size: 22pt">Object Control Commands</span><br /> | ||
''By [[ | ''By [[Chris Cromer|Chris Cromer]]''</div> | ||
| |
Latest revision as of 20:16, 1 April 2025
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).
Object number 0 is called EGO. It is different from others in that the player may move it around using the keyboard.
References
Related Links
< Previous: Program Control CommandsNext: Object Description Commands >