How do I set Turret shooting point

Get help using Construct 2

Post » Wed Apr 13, 2016 3:41 pm

Hi!

I noticed that, turrets seem to shoot towards its acquired objects origin point. Is there any way to make a turret shoot towards an image point in the acquired object instead?
Image
B
12
S
3
Posts: 37
Reputation: 839

Post » Wed Apr 13, 2016 4:38 pm

I'm away from home( so I'm unable to launch C2 and double-check myself), but if you'd like the turrets to point at a different ImagePoint then I think you may want to make your own turret. You can have a sprite rotate toward a location and set that location to the Sprite's ImagePoint X and Y.

For simplicities sake, you can give the sprite a LOS behavior and then, if it has LOS, Every X seconds it can spawn your bullet.

Another idea is to continue using the turret behavior and have the bullet rotate or set it's angle toward the ImagePoint that you're looking to be fired upon.

I think the best option is to design your own turret though.
B
60
S
36
G
23
Posts: 342
Reputation: 17,159


Return to How do I....?

Who is online

Users browsing this forum: evillair, vankizzle, Yahoo [Bot] and 8 guests