- Joined
- Feb 11, 2008
- Messages
- 809
Okay i am working on a better pathing system for tower defense maps such as green td.
with this actual system i needed some ideas of the best possible way to do the system using points or rects or even how man rects will be needed for the system.
on this post ill upload an overview of a green td map and an overview of what the current pathing system looks like and it is truely horrible.
what i want to do is setup the regions into a variable array at the game init. then add "unit enters rect[integer a]" as the event for the system which would be a great improvement already.
but when it comes to the actual system i dont want lots of if/then/elses i want a smooth system that can send the units to their next rect in order.
Sadly i cannot get my trigger to function correctly which is why i was forced to make this post.
please and thank you for anyone that can post an example trigger and explain!
with this actual system i needed some ideas of the best possible way to do the system using points or rects or even how man rects will be needed for the system.
on this post ill upload an overview of a green td map and an overview of what the current pathing system looks like and it is truely horrible.
what i want to do is setup the regions into a variable array at the game init. then add "unit enters rect[integer a]" as the event for the system which would be a great improvement already.
but when it comes to the actual system i dont want lots of if/then/elses i want a smooth system that can send the units to their next rect in order.
Sadly i cannot get my trigger to function correctly which is why i was forced to make this post.
please and thank you for anyone that can post an example trigger and explain!