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

Clickable property (character)

(Formerly known as SetCharacterClickable, which is now obsolete)

bool Character.Clickable
Gets/sets whether the character is recognised as something which the player can interact with. This allows you to modify the "Clickable" property set initially in the Editor.

If you set this to true then the player can look at, speak to, and so on the character (as with the old Sierra games). If you set this to false, then if the player clicks on the character it will activate whatever is behind them (as with the old Lucasarts games).

Example:

cMan.Clickable = 0;
will make the game ignore clicks on the character MAN.

See Also: Object.Clickable


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