How do I set states with variables? Not sure what's wrong

Get help using Construct 2

Post » Mon Jun 23, 2014 6:09 am

Thanks, but I can't get that to work either and I need a break. Just too frustrating not being able to figure out why stuff that should work isn't working. :( I'll probably try to make dummy animations and just post the .capx so you and anyone else can actually see it in action and what's happening.

Thanks again for your time, I appreciate it.
B
4
Posts: 37
Reputation: 276

Post » Mon Jun 23, 2014 6:16 am

Did you use System->Else on both of the events? (< X and > X)
B
6
S
2
Posts: 79
Reputation: 608

Post » Mon Jun 23, 2014 7:40 am

Yeah, here's the new code.

stopanimation2.png


The 0.10 Wait commands are actually just so the enemy pauses for a tenth of a second before beginning to follow once the player's bbox is no longer overlapping the enemy's. Disabling them has no effect on interrupting the walking animation.

(oops, just noticed that the second Else isn't part of the second X check. Fixing it did not have any effect though).
You do not have the required permissions to view the files attached to this post.
B
4
Posts: 37
Reputation: 276

Previous

Return to How do I....?

Who is online

Users browsing this forum: alextro, tarek2, wenwen11212016 and 7 guests