How do I Turret Fire Without Rotation?

Get help using Construct 2

Post » Wed Aug 03, 2016 10:34 pm

Hello and thanks for looking,

Im having trouble getting a turret behavior object to shoot with rotation turned off. Anyone know why or how to remedy it?

If rotation is turned on, it produces a projectile and fires it but with it turned off, the object just sits there and does nothing.
B
25
S
7
Posts: 79
Reputation: 2,267

Post » Wed Aug 03, 2016 10:48 pm

You can try to do it without turret behaviour.
Try clean sprite which is spawning bullet sprites every x seconds at certain angle.
B
6
S
2
Posts: 4
Reputation: 527

Post » Wed Aug 03, 2016 11:30 pm

I would think that with the option to turn rotation off that it's not necessary to have it on to work.
B
25
S
7
Posts: 79
Reputation: 2,267

Post » Wed Aug 03, 2016 11:43 pm

The turret will only fire if the player is in the line of sight of the turret. If it isn't rotating to face the player then when you are in range you need to be directly in front of the direction it is facing. It should fire if you stand in its line of sight, you are a target for the turret and you are in range and it's set to spawn projectiles.
B
47
S
17
G
81
Posts: 2,225
Reputation: 48,097

Post » Wed Aug 03, 2016 11:46 pm

Plinkie, I thought the same thing but I couldnt get it to fire no matter where I stood.

Thanks Plinkie and Roach for taking the time. I scrapped trying to get it to work with turret and just did it all manually.
B
25
S
7
Posts: 79
Reputation: 2,267

Post » Wed Aug 03, 2016 11:48 pm

I think if you are not going to use rotation then yes it is best to do it manually with bullet spawning and set angle. Turret is a behaviour so it has its limitations and is there really for the player tracking and to act exactly like a turret.
B
47
S
17
G
81
Posts: 2,225
Reputation: 48,097

Post » Thu Aug 04, 2016 12:10 am

Plinkie, yeah, it works great as a rotational turret- perfect even. I was hoping I could use it in other ways but doing it manually isnt a problem. Thanks again. :)
B
25
S
7
Posts: 79
Reputation: 2,267


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests