Triggers
by Anthony Rosenbaum · in RTS Starter Kit · 11/25/2004 (11:17 am) · 4 replies
I can't seem to get a trigger to call back? Has anyone had any luck with triggers yet?
About the author
#2
11/25/2004 (4:45 pm)
Yikes collsions are off huh, that put a damper on things. Has GG post anywhere about how to reinstate collisions. I figure triggers are the lightest way to monitor resources. . .but with them turned off or hell with collisions turned off it seems like everything has to be schedualed which I worry will be a bad thing
#3
I assume you're talking about scenarios where a worker walks up to a mine and digs some gold or something. You could re-implement collision and use triggers, but it's probably not the best way to go about it. You can just do a proximity check to your resource areas. Depends on your game design and how efficient you need things to be, but doing stuff this way is much less expensive than doing full collision and trigger checks as per normal Torque.
11/26/2004 (9:27 am)
Anthony, I made a long post sketching out some different schemes for how you might get triggers working in the general discussion forum. Please search before reporting bugs in the future, thanks. :)I assume you're talking about scenarios where a worker walks up to a mine and digs some gold or something. You could re-implement collision and use triggers, but it's probably not the best way to go about it. You can just do a proximity check to your resource areas. Depends on your game design and how efficient you need things to be, but doing stuff this way is much less expensive than doing full collision and trigger checks as per normal Torque.
#4
11/26/2004 (9:54 am)
EDIT: Bleh. hijacking bug report threads is BAD. moving this post.
Torque 3D Owner Stephen Zepp
Can be turned back on relatively easily according to GG, but then you have the pathing issues for RTS Unit movement to deal with.
It might be possible to go with trigger collision only with some modifications--get your desired functionality without having to resolve the pathing?