Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Game_event error. Help please :(

kirra

Member

Hello everyone, I'm doing a game using RPGmaker VX for my school's major project and I've encountered an error

--

script 'Game_Event' line 68: ArgumentError occurred.

comparison of String with 0 failed

--

This happens during an autorun event in which the player is to teleport to a different location during the event. and this error occurs when the player teleports(fadeout, transfer player, fadein)

The error occurs before the fadein.

Help will be very much appreciated. Thanks
 

kirra

Member

I've made no changes to the original. But I added a few scripts like the stats adding script and etc. They made no problems, only after i add in some events to my game and that screw the thing up.

scripts I've added:

Stats point distribution by lettuce
glow by kylock
Mini map and time system by Woratana
Map name, party changer, multiple parties and large party by dargor.
 
Well, line 68 in Game_Event is this:

      return false if $game_variables[c.variable_id] < c.variable_value

Variable operation.  Try adding this script and see if that fixes the problem.  If that's not the problem, then there must be a conflict between two or more of the scripts.  If it isn't the variable script problem, try removing the others one at a time until the problem is fixed so you can locate which script is causing the issue.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top