Page MenuHomeFeedback Tracker

isLightOn doesn't recognize destroyed light bulbs for streetlamps
Closed, ResolvedPublic

Description

See Title.

Details

Legacy ID
356789899
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  1. open editor, place soldier on stratis and set the time to night.
  2. Shoot the light bulb of a streetlamp
  3. view "isLightOn cursorTarget" on the debug console

Result:
"isLightOn cursorTarget" returns true, even though the light isn't on.

Expected result:
The command should return false.

Additional Information

-

Event Timeline

commy2 edited Steps To Reproduce. (Show Details)Mar 13 2015, 11:01 PM
commy2 edited Additional Information. (Show Details)
commy2 set Category to Scripting.
commy2 set Reproducibility to Always.
commy2 set Severity to None.
commy2 set Resolution to No Bug.
commy2 set Legacy ID to 356789899.May 8 2016, 11:40 AM

This command is for vehicles, not a bug. https://community.bistudio.com/wiki/isLightOn "Returns true if vehicle headlights are on otherwise false."