Cyrtii;295431":1gsx4hmx said:I get an error in line 56 at the Party Changer script!
bitmap = RPG::Cache.character(actor.character_name, actor.character_hue)
it sais 'undefined method 'caracter_name' for nil:NilClass'
#==============================================================================
# ** Window_Base
#------------------------------------------------------------------------------
# This class is for all in-game windows.
#==============================================================================
class Window_Base
#--------------------------------------------------------------------------
# * Draw Graphic
# actor : actor
# x : draw spot x-coordinate
# y : draw spot y-coordinate
#--------------------------------------------------------------------------
def draw_actor_graphic(actor, x, y, selected = false)
bitmap = RPG::Cache.character(actor.character_name, actor.character_hue)
cw = bitmap.width / 4
ch = bitmap.height / 4
src_rect = Rect.new(0, 0, cw, ch)
opacity = selected ? 160 : 255
self.contents.blt(x - cw / 2, y - ch, bitmap, src_rect,opacity)
end
end
it's party changer V2Please, give me the name of the script in which the error occurs and the exact line.
# * Alias Listing
#--------------------------------------------------------------------------
alias party_changer_initialize initialize
alias party_changer_refresh refresh
alias party_changer_add_actor add_actor
alias party_changer_remove_actor remove_actor
alias party_changer_setup_starting_members setup_starting_members
please relydargor_party_commands_initialize
Canadyan;307411":1vxdav8q said:I love this script! Very simple to use. I had one question/request though. I noticed when calling the Party Switching event, you're able to leave the menu with only 1 character in the group. Is there a way to set it so you MUST have 4(or however many) members in a party? I don't want people to be able to walk off with just my party leader unless I allow it.