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.

NoMethod Error...

Okay. After a cutscene, my game is crashing because of an error. The idea was, that a girl would get in a fight with the hero. The hero's friend would then show up. The hero would in some way offend the girl, she'd run off screen. The friend of the hero would agree to help go and calm her down, and he'd join the party. At this time, the player would be teleported to another map (The exact same map, but without events). The friend would fade, and a message should pop up that says: Masa has joined the party! and then he would be added to the party.

I'm having a problem with... when it's supposed to teleport him to another map, I get an error that is like...

NoMethodError occurred while running script.
undefined method 'animation_id=' for nil:NilClass

Please help me!!!!:please:
 

Anonymous

Guest

are you teleporting to another map so that the events have completely gone? and next time you only link to the map with no events? your problem maybe due to a map conflict.

can you give more detail about the event layout on the map.
 

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