Triggering NPC movement

Get help using Construct 2

Post » Sun Oct 21, 2012 2:02 am

Hi there.

I'm making a game for a Game Jam that has NPC's run away from you when the player reaches certain points in X,Y space. However, I need to trigger a series of movements in order to guide the NPC correctly through an area.

I've tried doing this by basically using a boolean variable and switching from the starting value of 0 to 1 whenever the player reaches the point at which the NPC's should start running. I then do a bunch of movement events on the NPC's when that variable is 1. However, the NPC's don't react at all that.

The NPC's should continue through their movement orders regardless of where the player moves. Basically, I want to proceed through the set of movement events independent of the player after he triggers it initially.

Is there a good way to do this?Yambo2012-10-21 02:03:24
Posts: 4
Reputation: 508

Return to How do I....?

Who is online

Users browsing this forum: SimulacrumPro, Tuffy and 19 guests