I've been working on a project that keeps getting me stumped, but I keep going back to it and making a tiny bit of progress here and there. There is one issue I just can't seem to solve though, so that is what this post is about.
I'm using Rex's SLG-movement and Board-plugins, which are quite amazing. I don't want to keep bothering his thread any more though, so I will try and turn to the general community!
The moving around part works pretty well so far, and I have a good idea of how to make combat resolution work. My issue is making player units and enemy units engage in combat though!
<img src="https://dl.dropboxusercontent.com/u/11716886/Fox/Untitled-1.jpg" border="0" />
Now to click that grey guy....
When an enemy is within range of a unit, I want to be able to click it, have the unit move next to the enemy, and start the combat resolution. All I try is for naught though....
<img src="https://dl.dropboxusercontent.com/u/11716886/Fox/Untitled-2.jpg" border="0" />
Nooo don't go that way, silly!
Since I'm no good at explaining things, and I'm aware this post makes no one smarter on what is wrong with my code, I'm more than happy to send my Capx for a closer look to anyone willing to help!