Game Development Community

Trigger question

by Ian Coffey · in Torque Game Engine · 06/03/2005 (8:17 am) · 2 replies

Hello,

I have a quick question if anyone has the time for an answer which would drastically help me out!

I have done the trigger tutorial (http://www.codesampler.com/torque.htm), and it works great in the tutorial.base demo. But when i try ti with the rts starter kit, i can move unit into the trigger zone and nothing happens. The trigger should work when any object moves into the zone as i understand it.

Does anyone know whats going on?

Thank you!

Ian

#1
06/03/2005 (11:13 am)
If I remember correctly, RTSUnits don't have triggers activated--they were disabled for performance reasons. If you think about it, having 300 trigger checks and/or handlings every tick is a serious performance issue!

This is from memory, so you may want to take a look at the code in TGE that handles trigger processing for players, and compare it to the RTSUnit implementation to make sure.
#2
06/03/2005 (9:37 pm)
So how can events be triggered, then?