Difference between revisions of "Unblock"
From AGI Wiki
Jump to navigationJump to search (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...") |
(No difference)
|
Latest revision as of 18:25, 24 April 2019
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) |