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.

Problem with side view battling and day and night script.

I noticed after installing a side view battle system with animated characters, and a day and night system, whenever it turned to night and I got in a battle, I would get an error saying: Script 'Sideview 1' line 479: Arguement Error occurred.
wrong number of arguements(1 for 0)

the line that it says isn't working in the sideview 1 script is this:    @target_battler = @battler.force_target [1] Any ideas?
 

khmp

Sponsor

Yep, you are calling a method either from a nil object or trying to pass in a parameter to a method that does not need or want any. But that's all I can say with the information you have provided. In order to better help you would need to either create a demo or provide "Scripts.rxdata" or "Scripts.rvdata" from your project.

Good luck with it Piratekon! :thumb:
 

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