I've been going through the grid battles tutorials and I've got up to the end of Grid Battles Part 3: Move and Ranges. When I go to test it almost everything works except that I can still move using the WASD input commands I normally use outside of combat and in the old combat system I'm considering moving away from, and when I do move in that way I can completely ignore the grid system entirely. This seems like it's probably an easy fix, I probably missed a box somewhere. But that said, is it possible to use WASD input commands with the grid system (like, you can only move in ways that the grid battle system agrees with, but you can instruct your character which ways to go using keybindings?)
In grid battles you'd normally block player control in Battle (i.e. the whole battle).
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Block Player Control -> Battle
Allow In Turn -> Always
which is probably the problem so I set that to None.
That solved that problem. But I must amend my earlier statement that everything else was working. During the player turn it doesn't demonstrate their move range or allow me to select a cell to move to.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Blinking needs for the cell to have a prefab, though, so if your cells aren't visible in the scene, there's nothing to blink :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
That what you're talking about? Is there another move range setting somewhere I might have missed?
So, you can start the grid move selection (e.g. via battle menu), but there's nothing highlighted? Can you still select a cell (e.g. via clicking or just using input keys) and start the grid move, or is it just completely blocked?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I recently swapped over to the New UI system. This was a problem before that but I haven't gotten the Battle Menu set up properly using New UI prefabs yet. So I'll probably need to do that before we continue.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
1. Is there a way to set it up to let the player rotate their character as much as they like during their turn?
2. If I wanted to set it up so that just pressing a button would move your character forward one hex would you do that by making a "move forward 1 step" ability and using a control map with an assigned input key for the desired key? And if I wanted it to keep executing that until you let go could that be done by having the used input keys input handling set to "hold" or "any"?
2) Yes, using abilities and control maps for that is probably the best option, unless you want to do some custom scripting. For continued execution while holding the key, either use a hold/any key as you suggested, or check for the key in the battle event and continue moving there while the key is valid.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!