Difference between revisions of "Program.control"

From AGI Wiki
Jump to navigationJump to search
(Created page with "program.control   == <br />Syntax == <blockquote><code>program.control();</code></blockquote> == <br />Description == Prevents the player from moving ego (object 0) ...")
(No difference)

Revision as of 17:53, 30 December 2013

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