10-17-2024, 02:44 AM
I have a whole slew of questions here.
Given that the script supplied contained the following texts:
It was then, I realized something... The error says that it cannot find... "bb_frames=", not "bb_frames".
Something very strange had occurred here. For if you look at the script I supplied, I added spaces between any instance of the bb_frames variable and any ('=') equal sign.
And line 149?
Do you have a test demo of some sort you can upload so we can see what's happening?
Given that the script supplied contained the following texts:
#==============================================================================
# ■ Game_System
#==============================================================================
class Game_System
#--------------------------------------------------------------------------
attr_accessor :animated_bb
attr_accessor :upperbb
attr_accessor :bb_speed
attr_accessor :upperbb_speed
attr_accessor :bb_frames
attr_accessor :upperbb_frames
attr_accessor :bb_opac
attr_accessor :upperbb_opac
#--------------------------------------------------------------------------
alias gw_initialize initialize
def initialize
gw_initialize
@animated_bb = false
@bb_speed = 0
@bb_frames = 0
@upperbb_speed = 0
@upperbb_frames = 0
end
end
This being the Game_System class where I highlighted the @bb_frames instance variable, I would initially ask how you received this error:# ■ Game_System
#==============================================================================
class Game_System
#--------------------------------------------------------------------------
attr_accessor :animated_bb
attr_accessor :upperbb
attr_accessor :bb_speed
attr_accessor :upperbb_speed
attr_accessor :bb_frames
attr_accessor :upperbb_frames
attr_accessor :bb_opac
attr_accessor :upperbb_opac
#--------------------------------------------------------------------------
alias gw_initialize initialize
def initialize
gw_initialize
@animated_bb = false
@bb_speed = 0
@bb_frames = 0
@upperbb_speed = 0
@upperbb_frames = 0
end
end
(10-16-2024, 10:59 PM)Solitaire Wrote:
It was then, I realized something... The error says that it cannot find... "bb_frames=", not "bb_frames".
Something very strange had occurred here. For if you look at the script I supplied, I added spaces between any instance of the bb_frames variable and any ('=') equal sign.
And line 149?
#==============================================================================
# ■ Interpreter
#==============================================================================
class Interpreter
#--------------------------------------------------------------------------
def animated_bb_on(speed, frames, opacity=255)
$game_system.animated_bb = true
$game_system.bb_speed = speed
$game_system.bb_frames = frames
$game_system.bb_opac = opacity
end
There is definitely a space after $game_system.bb_frames# ■ Interpreter
#==============================================================================
class Interpreter
#--------------------------------------------------------------------------
def animated_bb_on(speed, frames, opacity=255)
$game_system.animated_bb = true
$game_system.bb_speed = speed
$game_system.bb_frames = frames
$game_system.bb_opac = opacity
end
Do you have a test demo of some sort you can upload so we can see what's happening?