Ok I am having an error in a script I a making, the error is a no method.
the line is this:
this is in Game_Event
I am sure I have that method in Game_Player this i s how the method looks.
But it keeps giving me that Error and I can't seem to find how to solve, I am pretty new in the use of the sdk(and pretty new to scripting, but I know some things...),I need help, I don't know what I did wrong.
the line is this:
this is in Game_Event
Code:
$Game_Player.event_decoder(self, @list, @character_name)
Code:
def event_decoder(event, list, character_name)
@objects.delete(event.id)
if character_name == ""
return
end
if list == nil
return
end
parameters = SDK.event_comment_input(event, 5, "Platformer")
if parameters.nil?
return
end
@object_type = parameters[0].to_s
@object_def1 = parameters[1].to_s
@object_def2 = parameters[2].to_s
@object_def3 = parameters[3].to_s
$Object_Handler.object_selector(@object_type, event, @object_def1, @object_def2, @object_def3)
But it keeps giving me that Error and I can't seem to find how to solve, I am pretty new in the use of the sdk(and pretty new to scripting, but I know some things...),I need help, I don't know what I did wrong.