Game Development Community

Using the Console and Bindings...

by Don Cravey · in Torque Game Engine · 04/22/2005 (2:39 pm) · 6 replies

I have the Torque Demo. I've been using the console a lot for commands like endGame(), and the bindings for toggling things in the GUI and calling animations. But that's it. That's all I can do. I want to be able to do things like increase or decrease player mass at the touch of a button. Maybe it's possible with the demo, and then again, maybe it's not. I dunno.

The problem I'm having with the console is, it claims that there's nothing to edit. I type something like "Player::playDeathCry( %this );" into the console and it says something like "Unable to find ' ' ." What am I doing wrong?

#1
04/23/2005 (3:34 pm)
The console is designed to be your run-time input/output/debugging info tool, not your script editing tool.

Use a text editor of your choice (there are many posts on various text editors), and edit the files directly: they are in your /example directory.
#2
04/30/2005 (9:52 am)
That's not what I mean. I know how to edit the scripts. I'm just trying to find out how to call up funtions during gameplay. I figured it out though, thanks to a script file someone gave me.
#3
04/30/2005 (10:05 am)
So I guess it's best to keep that information confident?
#4
04/30/2005 (10:50 am)
There are some things that can't be posted in the public forums. If you own TGE, you can post in the private forums and get code snippets as a reply.
#5
05/01/2005 (12:48 pm)
Quote:So I guess it's best to keep that information confident?

Keep what information confident? I don't understand your question.
#6
05/01/2005 (1:10 pm)
@stephen: nevermind - thanks all the same.