I'd like to implement certain movement restrictions in my game so that a combatant can only move in a certain way - like a figure in chess, for example. There's no option to do it by default, so I've been wondering what would be the best way of doing it?
I'd recommend not using the move command, but using an ability instead.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
There's no console output, and no matter what I put in the first step, it simply doesn't execute.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Most likely the event is firing, but the setup might be wrong. Could you post the details of the Search Objects node?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Limiting search range, like Matrix Dragon originally suggested in his thread, doesn't seem to do much.
Also, when using the target actor, you don't need to use searching for objects, as you can directly access the target's cell through that actor.
When your ability uses target cell selection (available for None target ranges), the selected cell is available as the target actor as well, so you don't need to search for it.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Thanks, gil!
Of course, this opens another can of worms, because now that it's at least possible to move, I need to find a way to block the cells occupied by other combatants from being selected.
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!
Thanks again gil!