I'm making a phase battle system based on the 2D Phase tutorials for ORK 3, using the same schematics for starting the game and battle, but no matter what I do my player grid placement fails. Something that seems weird to me is that whenever I start the game I have a ton of children in my Battle game object called "_AllySpot", that end up equaling the amount of players and enemies combatants I've set, does this have anything to do with it? And are there any checks I should be doing in my schematics to narrow down the issue?
  • What's your Combatant Placement setup in Battles > Battle Grid Settings?

    Also, I assume your battle start schematic uses a Player Grid Placement node to start the selection? Make sure the correct schematic is used, e.g. add some debug output before the placement node via Unity Console nodes.

    The spot game objects are created by the battle spots setup for your game and also happen for grid battles (e.g. can be used to find positions on the grid when placing the combatant automatically).
    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!
  • edited September 6
    Here's my settings for combatant placement:

    https://i.postimg.cc/Nfm0y8ws/combatantplacement.png

    As well as my game and battle start schematics.

    https://i.postimg.cc/5N4CMkzc/gamestart.png

    https://i.postimg.cc/VkbLyjKQ/battlestart.png

    In the battle start schematic, both before and after the player grid placement fails I set a check combatant node for both my PRI and Duelist characters, and all of them fail as well.

    To add a bit more: I have a finished version of the tutorial project I downloaded here, and when I start that battle it says "_EnemySpot" and "_PlayerSpot" instead of "_AllySpot". My player faction is named Player as well, not ally. The spots are also all located at the exact same location, (0,0,0), rather than spread out. Is this something that could be causing the problem?

    I also can't start the battle unless I use the "StartBattle" schematic in my Ork Game Starter, would that cause any issues with placement?
    Post edited by Dominias on
  • I sort of figured out the issue. By luck I encountered the same problems on the finished tutorial project I downloaded. The reason my fight wouldn’t start without explicitly calling for it, and the reason I couldn’t place my units, is because I deleted the faction sympathies.
  • Ah, yeah ... battles only start when there is an enemy to fight :)
    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.