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.

HBGames

Hi guys,
I'm making an examining system, where you can right click on an enemy and view text about it, pretty much a description.

I have a hash set up in a class called Sambase (dont ask aha)
when you click the 'Examine' button, it runs:

Code:
     @enemy_description = Sambase::Enemy_Descriptions[@abscmd_id]

     $game_temp.message_text = 'No information available.'

     $game_temp.message_text = @enemy_description if @enemy_description != nil

     $game_system.map_interpreter.command_101

But for some reason, when i click examine, it does absolutely nothing at all. No error, nothing :\
What am I doing wrong?

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