When an unit has a flashlight on their weapon and active, running getLightingAt on it will cause their flashlight to flicker once. Specifically, it makes the light "model" flash, the illuminated area does not flicker. This can be seen in 3rd person when the flashlight is on.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- General
Steps To Reproduce
- Open 3DEN editor
- Place down unit and equip with flashlight
- Set time to night
- Preview scenario
- Turn on flashlight, go in third person and look at the light from the side
- Open debug console
- Run getLightingAt player
- Observe flickering light
Additional Information
Here is a bug report made on my mod utilizing getLightingAt in a loop, clearly demonstrating the issue (credit: Marc13Bautista).