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
11
S
3
G
1
Posts: 100
Reputation: 2,237

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
11
S
3
G
1
Posts: 100
Reputation: 2,237


Return to How do I....?

Who is online

Users browsing this forum: Lancifer, lucstanislash, RetroSpock and 9 guests