Page MenuHomeFeedback Tracker

getLightingAt doesn't work with some light sources
New, NormalPublic

Description

These objects don't change getLightingAt dynamic values:

  • camp fire;
  • barrel fire;
  • burning vehicle;
  • chemlight.

All of these objects illuminate the player:


Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Scripting
Steps To Reproduce
  1. place player and any of these objects:
    • campfire (burning);
    • metal barrel (burning);
    • any car, set its health to 3%;
  2. start mission and throw chemlight;
  3. come close to objects and check getLightingAt player dynamic values (#2 and #3) - it gives [0,0,0], 0.
Additional Information

At the same time these objects work: vehicle headlights, gun light, lighthouse, portable lamp, IR grenade (only in NV goggles).

Event Timeline