What am I doing wrong?

Get help using Construct 2

Post » Tue Feb 05, 2013 9:56 pm

I can't subtract from the global variable?

https://www.dropbox.com/s/yf0o9w1qfshwviy/Shop.capxThunderLion2013-02-06 01:01:31
B
9
S
2
G
1
Posts: 97
Reputation: 1,931

Post » Wed Feb 06, 2013 1:42 am

Just remove "" and use syntax instead of spacing~

For example:
if on clicked & Price <= "Money"
Subtract "SpeedIncrease Price" from Money~

Change to:
if on clicked & Price <= Money
Subtract SpeedIncrease.Price from Money~

"" is for String~
If you add it, the value will become String~
Hope it help~
B
13
S
5
G
3
Posts: 63
Reputation: 3,989

Post » Wed Feb 06, 2013 8:39 pm

Thank you!!!
B
9
S
2
G
1
Posts: 97
Reputation: 1,931


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Colorfish, GSquadron, zenox98 and 21 guests