Hi all :)
I need to relocate battle to different part of scene. Not to another scene, but to special place in scene.
For example - when i'm generating level, i'm placing new prefab BattleRoom. And I want when player starting new Turn Based battle player group and opponent group be moved to that BattleRoom.
Thank you in advance!
  • In the tutorials it talks about placing starting points for the combatants.
    It's simply a matter of designating them to the proper coordinates in global space.

    If by "generating level" you mean you are having levels spawn dynamically at runtime,
    then you can just place an empty game object in the middle of the BattleRoom prefab and
    designate your battle positions relative to that.
  • edited August 2015
    if you just want to battle in a different scene there is a how to on how to do that in the tutorials section of ork
    Post edited by wtyson on
    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
  • Thank you, Klep!
    I added battle component to BattleRoom prefab with defined positions, and it worked perfectly!
  • When using combatant spawners or random battle areas, you can also just use a game object with a Battle component placed wherever you like and the battle will take place there (when not enabling Set Place).
    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!
Sign In or Register to comment.