spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * Character functions and properties

Moving property (character)

(Formerly known as character[].walking, which is now obsolete)

readonly bool Character.Moving
Returns true if the character is currently moving, or false if not.

This property is read-only; to change the character's movement, use the Walk, Move and StopMoving commands.

Example:

cEgo.Walk(125, 40);
while (cEgo.Moving) Wait(1);
will move EGO to 125,40 and return control to the player when he gets there.

See Also: Character.Animating, Character.Move, Character.Speaking, Character.StopMoving, Character.Walk


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.