Announcement
Announcement
| 2nd Quarter Contest Announcement posted! See the Community Announcements section. |
Ace questions are not permitted to be posted. VX questions only, thanks in advance!
![]() ![]() |
Apr 8 2012, 02:48 PM
Post
#1
|
|
![]() Type: Writer Alignment: Lawful Neutral |
When my character reaches a level in which he is supposed to learn a new skill, the game crashes after the battle, and I end up with
Script Game_Actor line 442: Argument Error occured too few arguments. Here's what my line 442 looks like. $game_message.add(sprintf(Vocab::ObtainSkill, skill.name)) So I guess it had something to do with a custom skill? |
|
|
|
Apr 9 2012, 12:15 AM
Post
#2
|
|
![]() Type: Writer Alignment: Lawful Neutral |
Also, here is what the entire section of the script looks like
def display_level_up(new_skills) $game_message.new_page $game_message.add(sprintf(Vocab::LevelUp, @name, Vocab::level, @level)) new_skills.each do |skill| $game_message.add(sprintf(Vocab::ObtainSkill, skill.name)) end end I need help on what other part of the script to edit. I did not really touch anything from the default script, so I'm wondering what's wrong with the script here. This post has been edited by zenbonsakura10: Apr 9 2012, 05:26 AM |
|
|
|
Apr 9 2012, 05:32 AM
Post
#3
|
|
![]() Type: Writer Alignment: Lawful Neutral |
Got the solution from someone else. I'll just have thi s topic closed now.
|
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 25th May 2013 - 04:41 PM |
|
|