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.
Check out my games on Google Play:
BEAST ATTACK (1,000,000+ downloads!)
ZOMBIE BASH (Android) (Launched Feb 17)
ZOMBIE BASH (iOS) (Launched March 17)
B
55
S
18
G
2
Posts: 436
Reputation: 5,607

Post » Fri Dec 19, 2014 3:09 am

Figured it out.
Check out my games on Google Play:
BEAST ATTACK (1,000,000+ downloads!)
ZOMBIE BASH (Android) (Launched Feb 17)
ZOMBIE BASH (iOS) (Launched March 17)
B
55
S
18
G
2
Posts: 436
Reputation: 5,607

Post » Fri Dec 19, 2014 3:02 pm

good man that's way to learn
B
251
S
39
G
15
Posts: 1,964
Reputation: 40,721


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, dop2000, kellehk, Yahoo [Bot] and 27 guests