AI targeting

Get help using Construct 2

Post » Fri Jul 11, 2014 6:53 pm

Hi, I ve got two objects AHOST and APEER (for a multiplayer game).
I want the object to choose a random target, move to it, slowly stop and start shooting.
Its working fine, every object moves to its target, but only 1 of them is shooting. There is probably some loop/picking mistake, but I cant find it, or I dont undestand it well. Thanks if anyone helps

Image
B
4
Posts: 4
Reputation: 202

Post » Fri Jul 11, 2014 7:09 pm

Try adding a Foreach APEER to event 93.
ImageImageImage
B
71
S
22
G
247
Posts: 3,753
Reputation: 137,552

Post » Fri Jul 11, 2014 7:21 pm

No difference
B
4
Posts: 4
Reputation: 202

Post » Fri Jul 11, 2014 7:27 pm

If you disable the Wait 0.02 , is that better?
ImageImageImage
B
71
S
22
G
247
Posts: 3,753
Reputation: 137,552

Post » Fri Jul 11, 2014 7:38 pm

Nope. Thats there because the projectile is drawn with 0 angle for 1 tick for some reason, so I made it invisible for 1 tick.
B
4
Posts: 4
Reputation: 202


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 7 guests