Page MenuHomeFeedback Tracker

getLightingAt causes flashlights to flicker
New, NormalPublic

Description

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.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
  1. Open 3DEN editor
  2. Place down unit and equip with flashlight
  3. Set time to night
  4. Preview scenario
  5. Turn on flashlight, go in third person and look at the light from the side
  6. Open debug console
  7. Run getLightingAt player
  8. 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).

https://youtu.be/sOpwcFmPCGo?si=rUB9WcSJEb0yqa5y&t=58

Event Timeline