New account registration is temporarily disabled.

[RMVX ACE] PROBLEM WITH WINDOW_BASE SCRIPT

Posts

Pages: 1
KrimsonKatt
Gamedev by sunlight, magical girl by moonlight
3326
Hello everyone. i have a major problem with the scripts in VX Ace. Everything was going fine in my new game. Until I got into a battle and I saw this error.

I do have a few scripts,. They are:
YEP Core
YEP BS
ATB Stamina System
YEP HP Bars
YEP Attack Animations
YEP Victory Aftermath
YEP Item Menu
YEP Save Menu
YEP Save System
YEP Visual Battlers

It says it is on line 472. So here is a view of it.

THX
Moved to the Script section.
Marrend
Guardian of the Description Thread
21806
So, I think the function that it's trying to do is...

#--------------------------------------------------------------------------
# * Draw State and Buff/Debuff Icons
#--------------------------------------------------------------------------
def draw_actor_icons(actor, x, y, width = 96)
  icons = (actor.state_icons + actor.buff_icons)[0, width / 24]
  icons.each_with_index {|n, i| draw_icon(n, x + 24 * i, y) }
end


...this one. Which tells me that the result of the line above the one that you're talking about is nil. Under normal circumstances, the result of that line is an array. Though, I'm not really sure what do do with that information, except to double-check that actor.state_icons and/or actor.buff_icons are doing what they are supposed to (this might need a new project to figure out), or what all values are passed into the function in the first place.

But that's just me and my kind of crazy.
Trihan
"It's more like a big ball of wibbly wobbly...timey wimey...stuff."
3359
That looks to me like it's passing in a null actor (in other words, an actor is expected but there isn't one).
Pages: 1