So there is a condition at 105 that enemy has LOS in that event which you've decided to cut off in the screenshot?
No, all the events for this effect is under [if weapon = "shock"], event 105 is for another weapon. However I already solved the problem by creating these two beams [on "enemy spawn" function] and then set it invisible with width zero. Then when the enemy fires, I take further action.
Thank you guys for your answers anyway!😄