With the get Location Info Eventcommand you can ask for Terain ID or Region ID for Certain coodinatetes destinated through Variables.
You could use it somehow for this.
Well, I played with this a little. Took this lesson:
http://forums.rpgmakerweb.com/index.php?/topic/3452-direction-based-line-of-sight-events/. Created a simple "line of sight", put my math-formula for right-directioned monsters and tested. Like if after player enters monster line of sight, formula checks if monster can see player. Well, it's worked fine, but RMVX not much into saving value in variables like fraction (0.5 or 0.3), because it's always save like integers (-2, -1, 0, 1, 2). And in case if you stand on one line with event, or closer than 2-4 tiles it work nice, even too good. But if you too far, or stand too close (7-8 tiles), numbers values became too low and inaccurate. And monster begin to see you no matter if there a wall between you and it. So, no. It's don't will work well with var and switches only.
[IMG]http://i.imgur.com/jmULQP3.png[/IMG]
And, you still can do it with editor only, simply have the turret fires a "dummy" projectile(that checks its own terrain tag) at the player,
If you mean to use events as projectile, then this possibly don't will work well, because even on max speed they are still too slow. And if there is few turrets? I need to create a huge amount of these projectiles then. I need a simple Ruby script, which will create the equation of a line by two points (event and player xy coordinates), and then by slowly checking (adding 0.4 or less after every check) x or y (it's depend from event direction) coordinate from A to player coordinate, and check if line cross a tile with special Terrain Tag.