Unblock
From AGI Wiki
Revision as of 18:25, 24 April 2019 by Andrew Korson (talk | contribs) (Created page with "The '''unblock''' command removes a block that was set up by the '''block''' command. == Syntax == unblock(); == Remarks == The '''block''' command adds an invisib...")
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The unblock command removes a block that was set up by the block command.
Syntax
unblock();
Remarks
The block command adds an invisible rectangle to the screen that act similarly to a conditional control line. The unblock command removes the block.
See the Blocks discussion in the Managing Obstacles topic for more information.
Possible Errors
None.
Example
Code:
block(25, 25, 100, 100); [ create a block
ignore.block(o1); [ object 1 will ignore the block
...
observe.block(o1); [ now object 1 will observe the block
...
unblock(); [ remove the block
Technical Information
Required Interpreter Version: | Available in all AGI versions. |
Byte-Code Value: | 91 (0x5B hex) |