How do I make each enemy be able to shoot?

Get help using Construct 2

Post » Sat Mar 24, 2012 10:00 pm

All my enemies are able to shoot, but when one of my enemies shoots a bullet, and another enemy shoots a bullet, the first enemies bullet switches bullet paths in mid-air towards my player!! I have it set up so after it shoots it sets the angle towards the player, but I only want it to work for that one bullet fired. Any suggestions?
B
7
S
1
Posts: 97
Reputation: 1,167

Post » Sat Mar 24, 2012 11:18 pm

Check the topics listed in the how do I FAQ about "Picking/selecting instances", this is all what it is about.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Sat Mar 24, 2012 11:27 pm

I cannot find what I am looking for in that.. All I need to know is how to make it so that each bullet only sets their angle one time. And to ignore the timer that spawns a new bullet/sets the angle for the new spawned bullet. How would I do this? If theres a page that explains this, please link it :)
B
7
S
1
Posts: 97
Reputation: 1,167

Post » Sat Mar 24, 2012 11:54 pm

[QUOTE=mitchjohnson52]I need to know is how to make it so that each bullet only sets their angle one time. [/quote]
After the "Create bullet" action, set the action "Bullet angle".
Any action on a bullet after the "Create bullet" will apply to the newly created bullet and only this one.

New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Sun Mar 25, 2012 12:02 am

The problem is that its set on a timer to make the enemies shoot every 3 seconds. When the timer resets, it also resets the bullet angle (which sometimes resets in mid air). What should I do? thanks in advance
B
7
S
1
Posts: 97
Reputation: 1,167

Post » Sun Mar 25, 2012 12:46 am

Anyone know a solution?
B
7
S
1
Posts: 97
Reputation: 1,167

Post » Sun Mar 25, 2012 12:56 am

when you said set the timer to make the enemies shoot every 3 seconds, does it mean that all of the monster shoot at the same time every 3 seconds? or each monster shoot at different time during each 3 seconds?
B
14
S
1
Posts: 31
Reputation: 1,208

Post » Sun Mar 25, 2012 2:28 am

Im going to link the game. The shooting event is in the "Main Event" event sheet. Take a look please
B
7
S
1
Posts: 97
Reputation: 1,167

Post » Sun Mar 25, 2012 2:28 am

!mitchjohnson522012-03-25 05:22:32
B
7
S
1
Posts: 97
Reputation: 1,167

Post » Sun Mar 25, 2012 4:32 am

is what I want to do even possible?
B
7
S
1
Posts: 97
Reputation: 1,167

Next

Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 15 guests