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.

[Resolved] Problem in Game_System

Status
Not open for further replies.
Whenever i encounter an enemy in game, i get a
"Script 'game_System' line 47: Typeerror occured
cannonvert convert nil string

Line 47:

Audio.bgm_play("Audio/BGM/" + bgm.name, bgm.volume, bgm.pitch)

Other music plays in the game find but as soon as i encounter an enemy i get a crash.

Any ideas?

EDIT: I am also using the random battle music script. I fixed the problem by entering Battle01 into the random music script box, but now when i encounter a battle it says "cannot find /audio/Bgm/Battle01 =S Where is the music supposed ot be that comes with the game?
 
the music that comes with the game is located in the folder where you installed rpg maker. i think by default it is on your default hard drive in the games folder. i hope this helps. i am half asleep so i may not me talking in an understandable manner.
 
im guessing it's in one of the RPGXP files? Any idea which one? And it finds the other music fine, just seemingly not when i enter a battle for some unknown reason lol

EDIT: Found them, hopefully it'll work now lol. Thanks =)
 
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