Thank you for reporting this.
I was not able to reproduce the lighting issue. I checked both when using behaviors and when using actions.
Please let me know the steps to check the issue in a new scene.
I don't know how, but trying to reproduce the bug in a new scene/project and now it works as intended when i toggle visibility of the light object. I honestly have no clue what i did wrong since both scene events look identical.
The only difference i made is i created the "light" boolean variable using "At the beginning of the scene" and made it a scene variable instead of a global variable.
I can maybe send the project file to you to check it out yourself.
> Do you mean the helper is not deleted? The helper is for debugging and will not be removed.
No, the bug happens when the helper is on or off. Doesn't matter.
I've modified the project since i wrote the first comment and forgot to mention it, i apologize.
These are the original events that i used when i wrote the first comment.
Problem is, whenever the global boolean variable "light" which is used to check whether or not the flashlight is on or off is set to true, the light no longer moves with the player or rotate with the scene camera. It only moves when the variable is set to false.
I also apologize for late replies since i'm from Europe and wake up late.
If you need anymore info, let me know.