Increasing Global Variables

Get help using Construct 2

Post » Sat Jan 24, 2015 5:39 am

Hey, I was wondering how I increase a global variable by 1.10 * itself, whenever I try I get told that the * is in the wrong place.

Thanks in advance!
B
3
Posts: 2
Reputation: 179

Post » Sat Jan 24, 2015 6:01 am

should just be

GlobalVariable = GlobalVariable*1.10

but the other way around should work.. are you sure your GlobalVariable is a number and not a string?
Made Cosmochoria - www.cosmochoria.com
Currently working on Slayaway Camp - www.slayawaycamp.com
B
27
S
8
G
3
Posts: 384
Reputation: 5,020

Post » Sat Jan 24, 2015 6:29 am

Of course, i forgot to put the name of variable again. I was just putting * 1.10 no wonder it was working, thanks!
B
3
Posts: 2
Reputation: 179

Post » Sat Jan 24, 2015 6:40 am

Or use the add action and global * 0.1
B
19
S
6
G
7
Posts: 1,101
Reputation: 6,146


Return to How do I....?

Who is online

Users browsing this forum: Lancifer and 12 guests