Walk and stop AI

Get help using Construct 2

Post » Thu Aug 22, 2013 12:05 pm

Hello!
I have some problem with it.. I try make an AI, what will walk from object to object, stop for a some time with changing animation and walk again.
The problem is that when a person goes to object a successful, normal stopping where necessary, and even the second time it turns out well, the next time he passed the object will not stop and will pass, but the animation will continue to change.
I think it is something trouble with System - Wait event or with stop animation of my character, or with organization events.

Here is all screens:
Game looks:

AI movement system:

AI event system:


Thank you!
B
5
Posts: 16
Reputation: 284

Post » Thu Aug 22, 2013 1:03 pm

for more understanding will give an example: the AI suited to the object #1 and stop (change animation, wait 3 seconds) and then goes back (change of animation) and goes to another object and stops (change animation, wait) and so on. By doing this a few times, the character no longer stop and passes the objects. And then obtained this troubles with moving AI
B
5
Posts: 16
Reputation: 284

Post » Thu Aug 22, 2013 1:21 pm

need a .capx
B
46
S
16
G
78
Posts: 2,166
Reputation: 46,349

Post » Thu Aug 22, 2013 1:23 pm

I'm seeing way too much system wait actions.
Couldn't you take away a lot of them?
Replace them with on animation end or something like that?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Aug 22, 2013 2:14 pm

Its bad to have much Wait?

take this .capx example:
https://hotfile.com/dl/241013078/aaa1aa0/example.capx.html
B
5
Posts: 16
Reputation: 284

Post » Thu Aug 22, 2013 5:33 pm

have any idea?
B
5
Posts: 16
Reputation: 284

Post » Thu Aug 22, 2013 6:42 pm

Hey! I found a mistake in my system ladder, it select an event: walking the ladder or walk past it. I removed the extra code from the event "walk past" and he stopped kink with stops.
Thanks all :Dkafk3d2013-08-22 18:42:57
B
5
Posts: 16
Reputation: 284


Return to How do I....?

Who is online

Users browsing this forum: divsyntax, pmerineau and 11 guests