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

IgnoreLighting property

(Formerly known as SetCharacterIgnoreLight, which is now obsolete)

bool Character.IgnoreLighting
Allows you to dynamically modify the "ignore lighting" checkbox for the character. If this is set to 0, the character will be affected by region light levels and tints; if this is set to 1, then the character will ignore all region lighting.

Example:

cEgo.IgnoreLighting = 1;
will make the character look the same no matter if he stands on regions with different light levels.

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