[How do I] Enemy Ai2

Get help using Construct 2

Post » Fri May 02, 2014 6:57 pm

Message: DREZO is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
ArcadEd wrote:Seems to be working ok for me, or am I missing the problems?

I do get a script error at the beginning, not sure what that's about.

Here is a video of me testing it.



No its not, after two zombies spawned you jumped over the one with the hp and he didn't turn around
B
5
S
1
Posts: 19
Reputation: 413

Post » Fri May 02, 2014 6:59 pm

He does, but yeah, not immediately, I see what you mean.

The second zombie does attack and kill me though, just tested that.

OK, I'll look at the turn around thing.
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Fri May 02, 2014 7:06 pm

The zombies do turn around, if you jump on the last spawned zombie his head
B
5
S
1
Posts: 19
Reputation: 413

Post » Fri May 02, 2014 7:07 pm

What's happening is the instructions to mirror is going to all zombies, but the comparison is only working the latest one put into play.

Still looking at it.
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Fri May 02, 2014 7:16 pm

Thanks sir :)
B
5
S
1
Posts: 19
Reputation: 413

Post » Fri May 02, 2014 7:23 pm

This is a case where you want to use a Container to link the Zombie and the ZombieBox together, otherwise there is no way of telling Construct 2 they are linked.

I'm working up a solution for you now.
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Fri May 02, 2014 7:39 pm

I emailed you a CAPX back with an explanation.

Anyone that finds this thread in the future, read up on Containers :).
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Fri May 02, 2014 7:56 pm

ArcadEd wrote:I emailed you a CAPX back with an explanation.

Anyone that finds this thread in the future, read up on Containers :).


Thanks for your help again 8-)

you are awesome!
B
5
S
1
Posts: 19
Reputation: 413

Previous

Return to How do I....?

Who is online

Users browsing this forum: yiuyiu6666 and 17 guests