Mr_Smith Member 933 Jan 25, 2009 #1 Hey, how do you type Code: $game_variables[4] = (($game_variables[3] - 1) / 0.3) ^ 2 - $game_variables[2].to_int in proper RGSS used in the event script command? ~Smiff
Hey, how do you type Code: $game_variables[4] = (($game_variables[3] - 1) / 0.3) ^ 2 - $game_variables[2].to_int in proper RGSS used in the event script command? ~Smiff
Brewmeister Sponsor 742 Jan 27, 2009 #2 That was pretty close. Code:  $game_variables[4] = ((($game_variables[3] - 1) / 0.3) ** 2 - $game_variables[2]).to_int  To squeeze it in an event command... Code: $game_variables[4] = \ ((($game_variables[3] - 1) / 0.3) \ ** 2 - $game_variables[2]).to_int Upvote 0 Downvote
That was pretty close. Code:  $game_variables[4] = ((($game_variables[3] - 1) / 0.3) ** 2 - $game_variables[2]).to_int  To squeeze it in an event command... Code: $game_variables[4] = \ ((($game_variables[3] - 1) / 0.3) \ ** 2 - $game_variables[2]).to_int