CharacterGetDarkFactor
Callable
Parameters
C: Character
The character to check
optionaleyesOnly: boolean = false
If TRUE only check whether the character has eyes closed, and ignore item effects
Returns number
- The number between 0 (dark) and 1 (bright) that determines screen darkness
Determines how much the character's view should be darkened based on their blind level. 1 is fully visible, 0 is pitch black.