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.

Title Screen / ABS script error. Seems easy to fix. Please help!

Ghostxpo here,
I'm not the best at scripting so I don't know what my problem is right now. I'm assuming its a really easy one to solve because it seems like it but anyways heres my problem:
I wanted to make my own title scene using the "Skip the title screen method", the method and script is posted in this link:
http://www.rmxp.org/forums/index.php?topic=7071.0
Now in my game I'm using the Action Battle System instead of the standard RMXP Scene_battle thing. The script I used for my ABS game is Blizzard's ABS system (BlizzABS).

So the problem is that I'm getting an error on line 2037 which is:
return (@keys.include?(key) && !@_keys.include?(key))

Heres the segment of that script including the line:
  #--------------------------------------------------------------------------
  # triggered?
  #  Internal method to check the trigger state.
  #--------------------------------------------------------------------------
  def Input.triggered?(key)
    return (@keys.include?(key) && !@_keys.include?(key))
  end

The error told to me in the game is:
Script 'Blizz_ABS' line 2037: NoMethodError occurred.
undefined method `include?' for nil:NilClass

Well if anyone is smart enough to figure this out please do so. I'll credit you in my game for the help.
 

khmp

Sponsor

The underscore after the @ but before keys it should just be "@keys" not "@_keys".

That's what I'm guessing from that error.

Good luck with it Ghostxpo! :thumb:
 
khmp":97o1uj27 said:
The underscore after the @ but before keys it should just be "@keys" not "@_keys".

That did not work but it did get me to remove that whole line completely, and so far the game is working, however I'm not sure if that would ruin my game later on, so then this has been resolved for now. Thanks khmp

[EDIT] NVM that just got my keys to stop working lol
 

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