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
58
S
20
G
13
Posts: 775
Reputation: 13,314

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
193
S
6
G
7
Posts: 213
Reputation: 10,203

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
58
S
20
G
13
Posts: 775
Reputation: 13,314

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
58
S
20
G
13
Posts: 775
Reputation: 13,314

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
21
G
13
Posts: 549
Reputation: 20,680

Post » Thu Feb 02, 2012 8:16 am

Thanx! Velojet
B
58
S
20
G
13
Posts: 775
Reputation: 13,314


Return to How do I....?

Who is online

Users browsing this forum: Anonnymitet, Baidu [Spider], dzert14, FabianB, hossein, reddragon09 and 9 guests