ShiVa3D
TORQUE USER NEEDS HELP - Console Methods [SOLVED]
Windows DX9/OpenGL 2 Standalone AppsTORQUE USER NEEDS HELP - Console Methods
by jharr100 » 24 Nov 2010, 00:58
Is there anything like console methods or console functions like in Torque. I need to call a C++ function like I could using a console method from script.
- jharr100
- Fresh Boarder

- Posts: 17
Re: TORQUE USER NEEDS HELP - Console Methods
by dreamora » 24 Nov 2010, 01:33
You would create a plugin and expose the function to scripting that way while implementing it in the plugin.
Torque only has ConsoleMethod cause its the only way to get any scripting at all (its its script binding interface).
But I would first check if you need the C++ code at all, as you don't work purely on source code with Shiva as you were forced to do with Torque due to its more than slightly lacking script support (outside TGB)
Torque only has ConsoleMethod cause its the only way to get any scripting at all (its its script binding interface).
But I would first check if you need the C++ code at all, as you don't work purely on source code with Shiva as you were forced to do with Torque due to its more than slightly lacking script support (outside TGB)
I'm no stonetrip representative, just a happy board member like you 
If you find my portfolio interesting, feel free to contact me or follow my shares on my twitter stream or my game development blog
If you find my portfolio interesting, feel free to contact me or follow my shares on my twitter stream or my game development blog
Re: TORQUE USER NEEDS HELP - Console Methods [SOLVED]
by jharr100 » 01 Dec 2010, 10:36
Thanks for the help. We are working on a project where our c++ code is going to be completely dissociated from the script or game engine. Thats why I was asking. I am going to look more into the plugins. I may need a little more help with the plugins. Thanks a lot.
- jharr100
- Fresh Boarder

- Posts: 17
3 posts
• Page 1 of 1
