I have two global number variables set in my event sheet.
RoadSpeed = 1100
BoostAmount = 2
When I hit a boost I am setting my RoadSpeed to "RoadSpeed*BoostAmount". Then after 5 seconds I set RoadSpeed to "RoadSpeed/BoostAmount".
So essentially I am doing 1100*2 and then 2200/2. But the number I get when I multiply the two variables is 17600, and then when it divides by 2 it goes back to 1100.
Also if I do just RoadSpeed*2 it comes out to 17600.
What am I doing wrong? Why does this not work correctly? If I use 1100*2 it works fine. What is happening to the math when it uses the variables instead of the numbers? <img src="smileys/smiley19.gif" border="0" align="middle" />