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
|