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.

Wierd error happening

Status
Not open for further replies.
I am using this script that i didn't made that makes you call a script by pressing a button.I'm using it with leon's mission/quest script and before i updated to the last version it didn't gave me errors now it gives me an error that's this:

On line 5:NameError occurred.

uninitialized constance Scene_Map::Scene_MissionMenu

And here's the little piece of script:
Code:
class Scene_Map
  alias quests_update update
  def update
    if Input.trigger?(Input::L)
      $scene = Scene_MissionMenu.new
      return
    end
    quests_update
  end
end
 

Eilei

Sponsor

Basically, your script doesn't recognize Scene_MissionMenu as a class. That's why it thinks it's an uninitialized constant. So your class Scene_MissionMenu definition is borked somehow.
 
This topic has been resolved. If Reaper* or any other users have any questions or further problems regarding this topic, please create a new thread about them.

Thank you!
 
Status
Not open for further replies.

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