How do you call functions in torque scrip (.cs)
by Nic Biondi · in Technical Issues · 01/28/2004 (4:40 pm) · 2 replies
If I make a function in script, can i call it directly? What is the syntax for calling a function made in script.
by Nic Biondi · in Technical Issues · 01/28/2004 (4:40 pm) · 2 replies
Torque Owner kc_0045
Default Studio Name
function hi()
{
echo("hi");
}
now that whoud just echo hi in the consal and to call that function in script you whoud just go
hi();
pretty easy :D hope that helped