Behaviors Misbehaving
by Steven Maxwell · in Torque Game Builder · 03/17/2009 (7:51 am) · 1 replies
I bought Game Builder for my 11 year old and I to use together, and the drop-down box for behaviors doesn't include any choices. Even when we highlight an object, there are still no behaviors showing up to choose.
This is probably a really simple issue, but I'd appreciate some help getting this young new game builder off the ground.
Thank you!
Steve
This is probably a really simple issue, but I'd appreciate some help getting this young new game builder off the ground.
Thank you!
Steve
Torque Owner David Ezell
Behaviors have to be added to you game before they are available.
Behavior scripts located in: "[game root]\game name\game\behaviors" folder will appear in the drop down in the editor.
A shortcut to adding behaviors from a zip file or cs file is to drop it onto the editor interface. TBG will then copy it to the proper folder.
Note that, either way, you still have to restart TBG for them to appear in the list.
---BTW---
Behaviors are just scripts with a few special definitions in them to support the interface in the editor. You can get some around here, or mine them from some of the example games.