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

RunInteraction (character)

(Formerly known as RunCharacterInteraction, which is now obsolete)

Character.RunInteraction(CursorMode)
Fires the event script as if the player had clicked the mouse on the character in the specified cursor mode. This is one of the mouse cursor modes, as defined in your Cursors tab in the editor.

Example:

cMan.RunInteraction(eModeTalk);
will execute the code defined in the MAN's "TALK TO CHARACTER" event.

See Also: ProcessClick, Hotspot.RunInteraction, InventoryItem.RunInteraction


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