View Single Post
 
guys this is pissin me off what do i do????
Reply
Posted 2008-10-13, 06:33 PM
ok in my "bunch o addons script" theres this caterpillar part that allows you to have our party members following you,or come out of the main character like in the old school FF games,etc. anyways my prob is this


def update_buffer(next_move)
if next_move == nil
@members.each {|member| member.buffer = []}
else
@members.each {|member| member.update_buffer(
next_move == 'reset' ? nil : next_move)}
end
end


there is something wrong with this line

@members.each {|member| member.buffer = []}

and it keeps sayingscript 'bunch of addons' 2129:NoMethodError ocurred "underfined method 'each' for nil:Nil Class"


can someone help my prob?
Old
Profile PM WWW Search
flappykun2349 enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzflappykun2349 enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
flappykun2349