Game Development Community

Torque script question

by Patrick Jeeves · in Torque Game Engine · 12/01/2006 (11:52 am) · 1 replies

How are the functions that are used in torque script declared in C++? i want to add a new torque script command to do what took three torque script commands to do now. (i'm very lazy)

#1
12/05/2006 (8:10 pm)
Hi,

The easiest way to do this would be to do it all in torque script, why not create a Torque script function that does the three torque script commands you need?

Otherwise you can find some info at these places.

Engine Coding in c++:
http://www.garagegames.com/docs/tge/general/ch06.php

Interfacing with the engine:
http://www.garagegames.com/docs/tge/general/ch05s03.php

Hope that helps,
Ted.