Adj.ego.move.to.x.y

From AGI Wiki
Revision as of 16:20, 23 March 2019 by Andrew Korson (talk | contribs) (Created page with "The '''adj.ego.move.to.x.y''' command appears to affect 'click to move' functionality in the later versions of AGI. == Syntax == adj.ego.move.to.x.y(); == Remarks == '...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The adj.ego.move.to.x.y command appears to affect 'click to move' functionality in the later versions of AGI.

Syntax

adj.ego.move.to.x.y();

Remarks

The details of this command are still not fully known. The information provided here may not be accurate.

It has been reported this command sets a reserved flag , although the exact flag number is not known. This flag would be used in conjunction with the mouse to support 'click to move' functionality. ('Click to move' means the user clicks a point on the AGI screen, and ego will automatically move to that point, stopping once it arrives.)

This command is not known to exist in any MS-DOS version of AGI.

Possible Errors

Unknown

Example

Code:

<syntaxhighlight lang="agi"> adj.ego.move.to.x.y(); </syntaxhighlight>

Technical Information

Required Interpreter Version: Unknown
Byte-Code Value: 182 (0xB6 hex)

According to several AGI websites, this command is supposed to be available in "the last versions of AGI version 3", however, there are no known MS-DOS based versions that have this command. Which platforms and which version numbers support this command is not yet known. WinAGI does not support this command.

See Also

Player Input Commands