Line of sight is just a condition. You can simply choose not to use it in an event.
Or you can do something like this:
As for the range, there is an action "Line of sight Set range", or you can compare distance between objects:
System->Compare two values-> Distance(enemy.x, enemy.y, player.x, player.y)<=MaximumRangeToFire