PhotonWeapon
Member
See topic. I'm sure it's something like $game_screen.start_tone_change(-255,-
255,-255, 0), but I get an error that says
"ArgumentError occurred while running script.
wrong number of arguments (4 for 2)"
I'm guessing I'm only supposed to have two numbers in there, not 4, but I don't think 2 is enough to set the entire screen tone.
EDIT: I looked a little further and I saw a method that went 'def start_tone_change(tone, duration)'. So I tried $game_screen.start_tone_change([-255, -255, -255, 0], 10) to make the screen black (with 0 gray) and last 10 frames. But now I get this error:
"Script 'Game_Screen' line 106: NoMethodError occurred.
undefined method 'red' for [-255, -255, -255, 0]:Array"
255,-255, 0), but I get an error that says
"ArgumentError occurred while running script.
wrong number of arguments (4 for 2)"
I'm guessing I'm only supposed to have two numbers in there, not 4, but I don't think 2 is enough to set the entire screen tone.
EDIT: I looked a little further and I saw a method that went 'def start_tone_change(tone, duration)'. So I tried $game_screen.start_tone_change([-255, -255, -255, 0], 10) to make the screen black (with 0 gray) and last 10 frames. But now I get this error:
"Script 'Game_Screen' line 106: NoMethodError occurred.
undefined method 'red' for [-255, -255, -255, 0]:Array"