Game Development Community

Best way to implement this

by Shakey · in Torque Game Builder · 01/03/2010 (7:07 pm) · 1 replies

I am coming along with my TD game. What I am trying to do is, after placing my tower objects, I want to the towers to start shooting at the enemies when they start on the path. What is the easiest way to do this. Should I use triggers? Should my whole path be a trigger area, and upon entering and within a certain proximity have my towers start shooting?

I didn't see any tutorials on working with triggers. A little insight on ways to accomplish this would be helpful.


#1
01/03/2010 (8:13 pm)
The easiest way I can think of doing this is to use pickradius. I have to assume that you will offer upgrades to the tower. If they tower is upgraded usually the range increases. Since you might need to modify the radius in which the tower can attack, pickradius will still be the easiest to use. www.torquepowered.com/community/forums/viewthread/105011 Try using that link to get you started.