I have units that i only want to be able to shoot to the right and only fire when it can see something in that direction. (the weapon will continue to travel in that direction until it hits something, but I'm sure I can do that quite easily) How would I accomplish this?
EDIT: Got it so it can't turn and can only fire within an arc. Problem is, even though the arc is at 0, it's still able to fire at an angle that increases with range.
My guess would be that you left the field Stats - Arc Slop unedited. When both Stats - Arc and Stats - Arc Slop are 0, the weapon should only be able to fire in the direction it is facing.
I have units that i only want to be able to shoot to the right and only fire when it can see something in that direction. (the weapon will continue to travel in that direction until it hits something, but I'm sure I can do that quite easily) How would I accomplish this?
EDIT: Got it so it can't turn and can only fire within an arc. Problem is, even though the arc is at 0, it's still able to fire at an angle that increases with range.
My guess would be that you left the field Stats - Arc Slop unedited. When both Stats - Arc and Stats - Arc Slop are 0, the weapon should only be able to fire in the direction it is facing.
@ParanoidPenguin: Go
Unfortunately not. Both are at 0.
Here's the approximate area that the cannon can fire: But I want it to fire in a straight line.
I removed the 'Turret' from the 'Combat - Weapons' field, so that shouldn't be the issue.
use validators to check the angle
Tried validators, couldn't figure it out. But I accomplished what I needed using a search area effect. Thank you for the efforts.