Game Development Community

Resolved: Strange Behavior Behavior

by Deozaan · in Torque Game Builder · 10/13/2007 (3:10 pm) · 6 replies

I've just been messing around with behaviors, adding my own custom ones as well as some that I downloaded from the TDN Listing and I've encountered some odd Behavior behavior.

www.deozaan.com/games/torque/tgb/strangebehavior.png
I try reloading the project and it still keeps all those different Mouse Input categories. Any ideas on how to fix this?

#1
10/13/2007 (4:10 pm)
Strange. Try removing all of the behaviors and slowly adding them back in.
#2
10/13/2007 (5:45 pm)
Nope that doesn't help. I removed them and added them in one at a time, reloading the project after each add. Then I removed them and added them all at once before reloading the project.

Either way it has as many Mouse Input categories as Behaviors in the category. It's weird that it doesn't do it for AI or Damage.
#3
10/19/2007 (6:18 pm)
I am also having trouble with GenericInputAction in that I dragged it into my behavior directory but it's not showing up in the drop down list.

I've restarted TGB, removed all the DSO files, removed it from the directory and re-added it. I can't get it to show up.
#4
10/20/2007 (3:28 pm)
The double appearance of behaviors happens when your behavior type has one or more spaces in it's name. Instead of "Mouse Input" try "MouseInput" and it will appear only once. If you keep the space, it will create a category or type per each behavior.
#5
10/20/2007 (4:20 pm)
Aha! Nice find! Thanks Ricardo!
#6
10/20/2007 (5:34 pm)
Thanks! I'm sure I would have run into that problem sooner or later.