Game Development Community

Question about torque script

by Patrick Jeeves · in General Discussion · 12/01/2006 (11:26 am) · 3 replies

Is torque script simply the functions created in the C code being called in a CS file or where do the commands come from?

#1
12/01/2006 (11:30 am)
You are partly correct in your first assumption: They are C++ functions being called from script. However, you can't call just ANY C++ function from script, it has to be made available in the C++ code to do so.

Make sense?
#2
12/01/2006 (11:34 am)
Yes, but where are the functions made available? also can i make it so i don't have to format the CS code like C++ code?
#3
12/01/2006 (11:41 am)
The functions are made available in many different places. Also, this is a public forum, so source code discussion is a no-no.

As for formatting, i'm sure you could change that. But that would be a big undertaking.