StateWaitForTimeout doesn't work?
by Paul /*Wedge*/ DElia · in Torque Game Engine · 04/29/2006 (10:25 pm) · 1 replies
As far as I can tell the stateWaitForTimeout property in a shapeImage doesn't work right at all. It's set to true by default for everything. It's _supposed_ to make it so you can't change a state until the timeout has passed, but if I have an onTriggerDown condition, it ignores the timeout value. It may follow the timeout restriction initially, but if you go into the state with the trigger already down, it totally ignores the timeout, and even misses any script callbacks in the state. I can hack around this by deferring to extra states that only have a timeout exit, but it's really annoying.
Has anyone else out there noticed or found a way to fix this? I looked at the source and the code seems to be in place for it working properly, but I haven't run any debugging on it yet, coz' I'm not very good at doing that in C++.
Has anyone else out there noticed or found a way to fix this? I looked at the source and the code seems to be in place for it working properly, but I haven't run any debugging on it yet, coz' I'm not very good at doing that in C++.
About the author
Torque Owner Steve Montgomery