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

HasExplicitTint property

readonly bool Character.HasExplicitTint
Returns true if the character has a tint set explicitly with the Character.Tint command.

Returns false if the character has no explicit tint, but it may still be tinted by SetAmbientTint or a region tint.

Example:

if (player.HasExplicitTint)
{
  player.RemoveTint();
}
removes the player's tint if it currently has one.

Compatibility: Supported by AGS 3.1.0 and later versions.

SeeAlso: Character.Tint, Character.RemoveTint


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