Game Development Community

Source to get AI functions and methods

by Rushh · in Technical Issues · 12/24/2007 (9:39 pm) · 1 replies

Hi, may I know where to get the Ai functions and methods thats alreadt done in torque that is ready for use?

For example, setMoveDestination() and onAdd() methods. These 2 methods are ready for use.

Any websites that have all the resources mentioned above?

Thanks

#1
12/26/2007 (4:10 am)
Make an AI Agent, give him a name, say 'bob'.

Then in the console type:
bob.dump()

and it will list all of the functions available for that object. Be warned this will also include methods provided by Player, ShapeBase, GameBase and so on.

It might not contain descriptions (some functions do, some don't) but then you can come here and ask about a specific method.