Current.loop
From Sierra WikiNew
Jump to navigationJump to search
The current.loop command stores the number of the current loop of an object in a variable.
Syntax
Remarks
Variable vB is set to the current loop number for object oA.
Possible Errors
AGI does not check that object number oA is a valid object. If it is not, the returned value is meaningless.
Example
Code:
current.loop(o0, v51); [ v51 now holds ego's current loop
Technical Information
Required Interpreter Version: | Available in all AGI versions. |
Byte-Code Value: | 51 (0x33 hex) |
See Also
current.cel
current.view
last.cel
number.of.loops
set.loop
set.loop.v