Jump to content
Sign in to follow this  

Battle from a Custom Scene

Recommended Posts

Hi and hello, its been a while since i was arround and im sorry if im posting in the wrong section!
Well i wonder if its possible to start a battle from another scene then scene_map.
when i try to do that i have no battle background and after the battle is finished the game is crashing.

Script 'BattleManager' line 77: NoMethodError occured.
undefined method `replay' for nil:NilClass

Now my question is, is it a flaw from the scene i use (a worldmap script) or is vx ace not able to do that?
And if not is there a way to change that?

If not my idea was to create a map where a event checks a specific variable and then start the battle i want with a branch and after the battle is done calls again my worldmap scene.
But it would be much better if i just could call the battle_scene directly from the worldmap scene and get there back after each battle.

Sorry for the bad grammar and big thx in advance! :)

Share this post

Link to post
Share on other sites

Perhaps a way around this is to use a common event to process the event/scene. When in the world map and you want to start a battle, have the player go to a map that you specify for battles only, then process the battle (assuming these are programmed and not random) when finished go back to world map.

If the battles are random, then I don't know

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.