edited June 2015 in ORK Support
Hi

I am working on the battle system and followed the tutorial to have battles go to another scene.

How would I go about having multiple battle areas so that the player goes to one depending on where they are?

I was thinking it would be done with bools ie when enter area all bools are false except that one

When starting battle event it checks bools and loads scene that is set to true?

Thanks
Post edited by martyn on
  • just set up each battle area with a different event to load the battle scene your talking about. each event would need to be different with the correct level loaded in. an if its all done with in the current scene then just chose your groups or the monsters you wants spawning from the battle area set up.
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
  • Either that, or (as the tutorial suggests at the end) use a variable to store the scene you want to load.
    You can e.g. set the variable to the scene you want to laod using Trigger Enter interactions.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Ah that makes sense!

    Thanks, will try that :)
  • I personally use a Trigger Enter with Area Changer + Change variable step (use a global one, like combatArea and set it to strings, so it will be easy to remember every linked areas), at the start of the combat i use a variable check to spawn a background depending on that global variable fork, but this is for 2D environment, i suppose in 3D you could set different battle spots depending on the variable, using the same scene. :)
Sign In or Register to comment.