Behavior Field Bugs
by Spider · in Torque Game Builder · 07/26/2007 (2:25 pm) · 1 replies
If you have a behavior '%beh' then
If you then decide to go for broke and try
echo(%beh.getBehaviorFieldCount());returns a giant garbage number.
If you then decide to go for broke and try
echo(%beh.getBehaviorField(0));then Torque crashes.
Torque Owner Spider
I think that maybe what I thought was a behaviorTemplate was not. The 'dump' command is pretty hard to read these days!
What does still happen, though, is that if you try to getBehaviorField with an index that is too high, Torque crashes.