First of all, this seems like a really basic question. I searched the wiki and the forums, but couldn't find an answer, though I'm sure it's there somewhere. :S
I'm having trouble with the math. My event looks like this:
Every tick -> Set variable totalmoney to int(global('Bronze'))+int(global('Silver')*100)+int(global('Gold')*10000)
The purpose of this is so that the silver and gold coins are worth more than the bronze ones, but no matter what I do, I can't get construct to multiply int(global('Silver') or Gold by anything. It keeps returning the total of the coins instead of the sum of their values. I've tried using int() around the 100 and 10000, I've tried float(), I've even tried making new global variables that are always equal to 100 and 10000 but construct just won't multiply.
tl;dr: If I put 1 into the "bronze", "silver", and "gold" editbox, I want it to equal 10101, but I can't get it to equal anything other than 3.
Below are screenshots and the .cap
<img src="http://i6.photobucket.com/albums/y246/Yank1234/construct1.jpg">
<img src="http://i6.photobucket.com/albums/y246/Yank1234/construct2-1.jpg">
http://www.mediafire.com/?8cgeuk8riec9c1k