19 Mar 2015

Functions / VBA Coding - Extended viewing distance

Yesterday I decided to change the pathfinding code. It works a little bit slower, but... it's better!


I think that I will be able to make it works faster. Anyway, that's not what I wanted to write about in this post!
I probably had too much time today and spent few hours writing new formulas and translating them to VBA. The result is longer viewing range: +1 cells row in each direction. I needed to upgrade it in order to make enemies visible from at least a little bit longer distances.


Range before update

Range after update

No comments:

Post a Comment