Program.control

From AGI Wiki
Revision as of 17:53, 30 December 2013 by Andrew Branscom (talk | contribs) (Created page with "program.control   == <br />Syntax == <blockquote><code>program.control();</code></blockquote> == <br />Description == Prevents the player from moving ego (object 0) ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

program.control

 


Syntax

program.control();


Description

Prevents the player from moving ego (object 0) around with the arrow keys. After this command has been executed, ego can only be moved by using the various object movement commands that are available such as move.obj. If ego is already moving, it continues in it’s current direction.

The player can be given control of ego again by using the player.control command.


Sources

AGI Studio Help File


See also