echo function
by Anthony Rosenbaum · in General Discussion · 01/23/2002 (12:33 pm) · 1 replies
I belive that this function will diplay a text, like "you just hit button X", but what are the augments, ( how do i impliment it ) could someone please give me a quick explanation . . .it should help my tracking betting. . . .also will it display to the console to the gui? is ther a function to display to the gui at the top of the screen?
Can anyone help me
Anthony
Can anyone help me
Anthony
About the author
Torque 3D Owner Luigi Rosso
Here's how it works:
echo("This is my variable: " @ %myvariable);
Use the @ sign for concatenation, or you can use words like TAB, SPC as well (or \t). Also \c0 through \c7 (I think just up to 7) will color the text after the \c tag.
Also calling objects directly by name or by id works too
echo("Position: " @ 6758.player.position);
echo("Base Position: " @ Team1_Base.position);
Provided you named the object when you instantiated it.
I think that more or less covers it :)