Game Development Community

Hmm...

by Nathan Cox · in General Discussion · 03/21/2009 (11:08 am) · 5 replies

Is there a way to echo all console commands and strings? It's annoying having to go through using TAB or echoing getTaggedString(1); ect...

#1
03/21/2009 (12:26 pm)
If you mean stepping through the lines of script for a script-based function, I use trace(1) at the begining of the function and trace(0) at the end. Works pretty well, though it doesn't display absolutely everything, so it may or may not work for your specific need. Hope it helps though.
#2
03/21/2009 (2:11 pm)
Thanks! It helped alot. Although, I'm looking for a command that lists all other console commands instead of pressing TAB and scrolling through them all (for convenience).
#3
03/21/2009 (4:33 pm)
Not sure what you mean by that pressing TAB thing. Could you be referring to all the commands related to a particular object (.dump() command)?
#4
03/21/2009 (11:11 pm)
@Ted: I think what he means by the "TAB thing" is the auto complete feature in the console. Try it: open console, type a and hit TAB. Continue hitting TAB to cycle through the A's.

There is a means of dumping out all of the console functions to a text file, check out scriptDoc.cs in the Common scripts.
#5
03/22/2009 (6:53 pm)
@Michael: Didn't know that... Interesting :)