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
21
G
221
Posts: 3,649
Reputation: 124,227

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
21
G
221
Posts: 3,649
Reputation: 124,227

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: el3um4s, marcinkowski, marcoscodas, Ryan Kocourek, TheSupreme, TylerJS and 10 guests