C++ class into script object
by Junior b · in Torque Game Engine · 01/31/2009 (12:42 pm) · 1 replies
How would I get to use a class i created, in c++, into a script IDE like Codweaver or just generally as I've created a class, included it in a folder in the engine's directory and would like to create a script object of it and just use the "echo" function to display variables and stuff in the console to get my head around things.
I have used the "IMPLEMENT_CONOBJECT" feature(from tutorial/docs), etc but just getting a scripting IDE like Codeweaver (or any) to identify/acknowledge that new class i've made is now accessible as a scripting object with its variables and so on.
I'm not also sure how to set the scripting IDE to be aware i've added stuff to the engine source so it knows the new objects/variables are existing to then use code completion features and just acknowledge my new object.
hope this isnt too confusing, thanks
I have used the "IMPLEMENT_CONOBJECT" feature(from tutorial/docs), etc but just getting a scripting IDE like Codeweaver (or any) to identify/acknowledge that new class i've made is now accessible as a scripting object with its variables and so on.
I'm not also sure how to set the scripting IDE to be aware i've added stuff to the engine source so it knows the new objects/variables are existing to then use code completion features and just acknowledge my new object.
hope this isnt too confusing, thanks
Torque Owner Junior b