Stop timer after monster kills

Get help using Construct 2

Post » Sat Oct 13, 2012 10:47 pm

I want to stop the timer after a specific amount of monster kills lets say 7.

As well as get a certain score for where the time stops at.

Example: Timer >= 40 seconds = 80 points

Monster kills = 100 points

Currently im using the CodeMasterMike Time Manager plugin tried pausing the timer after x amount of kills put the score keeps continouing

is there a way to freeze timer at specific stop?
B
3
Posts: 6
Reputation: 312

Post » Sat Oct 13, 2012 11:50 pm

Buddy ... You don`t need a plugin !

What you are asking for is as easy as 3 !

1- Make a global vaiable 'Timer' and 'Score'

2- Add an event that says :
System : Every 0.1 second . Add 0.1 to Timer

3- Set 'Score' to 2*Timer

Cheers !
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Sat Oct 13, 2012 11:54 pm

[QUOTE=kbdmaster] Buddy ... You don`t need a plugin !

What you are asking for is as easy as 3 !

1- Make a global vaiable 'Timer' and 'Score'

2- Add an event that says :
System : Every 0.1 second . Add 0.1 to Timer

3- Set 'Score' to 2*Timer

Cheers ![/QUOTE]

ohhh but how do you make the timer stop after x amount of monster kills?
B
3
Posts: 6
Reputation: 312

Post » Sun Oct 14, 2012 12:47 am

You can add a condition to the timing event,

If kills < 7 : your preferred method of timing.

Once you have 7 kills it will no longer be less than 7 so the event wont be running anymore.
ImageImage
B
73
S
16
G
6
Posts: 1,038
Reputation: 10,473

Post » Sun Oct 14, 2012 1:26 am

here you go !
Genki answered for you :D
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Sun Oct 14, 2012 1:28 am

ahh thank you for the answers =)
B
3
Posts: 6
Reputation: 312


Return to How do I....?

Who is online

Users browsing this forum: currypuff, makotto, randomly and 26 guests