Save-Point

Full Version: multiplication with variables
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It may be silly,but I can't seem to implement it.The players inputs a number and that is being multiplied by a random number to yield a resulting number.that number is the amount of gold that is gained.The following is the picture of my event page.Everything else is fine but the multiplication is not working.lease help.

[Image: multiplyo.jpg]
Wow, good job Enterbrain, VX's control variable thing is busted. >_>;
Let's see... Line 840 of Game_Interpreter:
Code:
when 3  # Mul
  $game_variables[i] = value
...yeaaaaah. >_>
Just change that to
Code:
when 3  # Mul
  $game_variables[i] *= value
And it should work for you.
Thanks,I couldn't find the game_interpreter first,so when I googled to find it's location,I found RMVX has posted an entire bug fix for the game interpreter.simple copy pasted it and it works now!