I haven't been able to get my gun to use only a restricted field of view for targeting. For example there is an enemy behind the vehicle the gun is pinned to and once you pass this enemy the gun still continues to track to the rear which is not what I need. I tried various ways using the turret actions but still have the issue of it remaining pointing in the last position it fired from, I need the gun to return to the forward parked position as it was before it had line of sight to an enemy. A pretty simple setup just a vehicle with a pinned gun that can only traverse about 45 degrees maximum. I would use one both sides a left and right. Does anyone have any recommendation how to accomplish this knowing it can only turn 45 degrees and then back to 0 or forward. Everything works fine except this return to front. I tried the turret and then tried the line of sight actions still it does not return to the front.
Better off in the 'how do I' section
Anyway I hope this is something along the lines that you were looking for.
Browser example
http://www.sizzle-games.com/turret
Capx of example
http://www.sizzle-games.com/turret.capx