Current.cel
From AGI Wiki
Jump to navigationJump to searchThe 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 current.cel command stores the number of the current cel of a screen object in a variable.
Syntax
Remarks
Variable vB is set to the current cel number for screen 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.cel(o0, v50); [ v50 now holds ego's current cel number
Technical Information
Required Interpreter Version: | Available in all AGI versions. |
Byte-Code Value: | 50 (0x32 hex) |