- Joined
- Jul 4, 2012
- Messages
- 4
- Reaction score
- 0
- First Language
- English
- Primarily Uses
Hi. I started using the program (RPG Maker VX Ace) a few days ago. Works like a dream! However, I've run into a bit of a snag:
I created some enemies to battle. However, whenever I defeat them, instead of reaping my rewards, I get this error message:
"Script 'BattleManager' line 309: ArgumentError occurred.
too few arguments"
I've compared it to a default script, and as far as I can tell, there's nothing different. It was working perfectly right up until I started messing with the enemy's stats. I tried to change them back, but it won't work, and now it's happening to all of my other enemies as well, even new ones! I've looked at the script, and it appears to be something wrong with the EXP message. I've tried changing the EXP I get, having none at all, everything! And I know little about coding, so I'm afraid of changing things around in there when I don't even know what's going on!
Please, I need help! What kind of RPG doesn't have any monster fights.
It looks like this:
I created some enemies to battle. However, whenever I defeat them, instead of reaping my rewards, I get this error message:
"Script 'BattleManager' line 309: ArgumentError occurred.
too few arguments"
I've compared it to a default script, and as far as I can tell, there's nothing different. It was working perfectly right up until I started messing with the enemy's stats. I tried to change them back, but it won't work, and now it's happening to all of my other enemies as well, even new ones! I've looked at the script, and it appears to be something wrong with the EXP message. I've tried changing the EXP I get, having none at all, everything! And I know little about coding, so I'm afraid of changing things around in there when I don't even know what's going on!
Please, I need help! What kind of RPG doesn't have any monster fights.
It looks like this:
Code:
#--------------------------------------------------------------------------
# ● View of the Experience Aquired
#--------------------------------------------------------------------------
def self.display_exp
if $game_troop.exp_total > 0
text = sprintf(Vocab::ObtainExp, $game_troop.exp_total)
$game_message.add('\.' + text)
end
end

