Game Development Community

How do you find info in the reference?

by Learner · in Torque Game Builder · 10/12/2008 (8:09 pm) · 4 replies

Hi all,
I downloaded TGB Trial this weekend and I have been playing with it. What has been more difficult for me is to find information in the reference . Most of the time, the search option does not give an useful result. How do you do?

Thanks in advance

Learner

#1
10/12/2008 (9:36 pm)
@Learner - Could you give me a specific example of something you are looking for? I could probably help you find it, and fix the documentation that is available to reflect it for future users.
#2
10/12/2008 (9:46 pm)
Thanks for your offering Michael. For instance, I am trying to understand how to bind keys. In most of the examples appears getWord(). A search did not give me any clear explanation, at least for me, a newbie.

Am I doing something wrong? Is there another reference? It is the same with isObject, onBehaviorAdd and onBehaviorRemove.

Thanks in advance

Learner
#3
10/12/2008 (10:40 pm)
@Learner - Ah, I see what you mean. I'm still in the process of consolidated and adding to the content for TGB. Some of the information is still split between the Official Documentation and Torque Developer Network.

For instance, onBehaviorAdd is a script function that has not been documented as extensively as some would like. If you search TDN, you will find the following link that are useful:

Behavior Callbacks

Creating Behaviors

These links do a good job of explaining what to put in the onBehaviorAdd function. What you aren't told is that quite a few script functions (such as onAdd(...) and onCollision(...), etc) are called from the engine from their source counterparts. The C++ counterparts are also documented: BehaviorTemplate::onAdd(...)
#4
10/12/2008 (11:22 pm)
Thanks for your fast response Michael. So, if I want to have updated or complete information I will need a torque license, is it right? Because, they are in TDN.

I will continue digging into the public docs. Thanks

Learner