How do you do a delayed enemy attack?

Get help using Construct 2

Post » Fri Dec 19, 2014 1:59 am

- When player is near enemy, I want him to swing at him.
- If he stays within range, I want the enemy to swing at him every 1 seconds and hurt player
- If the player goes near enemy, but then moves away, I still want the enemy to attempt to swing and miss if player is not in hit area.

See image of my current events in attachment
- right now, player gets hit once and loses all health instead of being hit 4 times to die
- right now, when player goes near enemy, and moves away, the enemy does not swing
You do not have the required permissions to view the files attached to this post.
B
60
S
19
G
3
Posts: 451
Reputation: 6,364

Post » Fri Dec 19, 2014 3:09 am

Figured it out.
B
60
S
19
G
3
Posts: 451
Reputation: 6,364

Post » Fri Dec 19, 2014 3:02 pm

good man that's way to learn
B
257
S
42
G
15
Posts: 1,991
Reputation: 41,411


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 3 guests