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?

![[Image: error.png]](https://i.postimg.cc/zGrFT5YH/error.png)
![[Image: QrnbKlx.jpg]](https://i.imgur.com/QrnbKlx.jpg)
![[Image: sGz1ErF.png]](https://i.imgur.com/sGz1ErF.png)
![[Image: liM4ikn.png]](https://i.imgur.com/liM4ikn.png)
![[Image: fdzKgZA.png]](https://i.imgur.com/fdzKgZA.png)
![[Image: sj0H81z.png]](https://i.imgur.com/sj0H81z.png)
![[Image: QL7oRau.png]](https://i.imgur.com/QL7oRau.png)
![[Image: uSqjY09.png]](https://i.imgur.com/uSqjY09.png)
![[Image: GAA3qE9.png]](https://i.imgur.com/GAA3qE9.png)
![[Image: 2Hmnx1G.png]](https://i.imgur.com/2Hmnx1G.png)
![[Image: BwtNdKw.png%5B]](https://i.imgur.com/BwtNdKw.png%5B)