Variable question

Get help using Construct 2

Post » Thu Feb 02, 2012 4:40 am

Hi

I want to activate a powerup when the score is between 100 and 200
I have tried allot but im not succesfull.
Any clues?

Kind Regards
Savvy
B
56
S
20
G
13
Posts: 778
Reputation: 13,204

Post » Thu Feb 02, 2012 5:00 am

Maybe a Capx to explain a bit more? Or elaborate how you want to go about activating it?
B
192
S
6
G
7
Posts: 213
Reputation: 10,178

Post » Thu Feb 02, 2012 5:14 am

I cant explain it any simpler then this.

Object hits Enemy/Ad 30 to Score "variable".

Score variable = between 100/200 then take action.
Score variable = between 400/500 then take action.
B
56
S
20
G
13
Posts: 778
Reputation: 13,204

Post » Thu Feb 02, 2012 5:29 am

Found it!

Event: Variable "score" is greater then 100
Sub event: Variable "score" is less then 200 Then take Action.
B
56
S
20
G
13
Posts: 778
Reputation: 13,204

Post » Thu Feb 02, 2012 7:44 am

@Savvy001: Just to be clear - they both need to be sub-events of your 'Object hits enemy' event.

Otherwise, your sub-event will never get called!
B
105
S
20
G
12
Posts: 549
Reputation: 20,320

Post » Thu Feb 02, 2012 8:16 am

Thanx! Velojet
B
56
S
20
G
13
Posts: 778
Reputation: 13,204


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound, randomly, spcsmrf and 26 guests