Game Development Community

static variables in script?

by Anton Westholm · in Torque Game Engine · 02/07/2003 (4:49 am) · 1 replies

can i use static variables in script (variables that are not deleted when function returns)?

if so, how? what's the syntax?

About the author

Recent Threads


#1
02/07/2003 (11:20 am)
There are no static variables in script AFAIK, but you can make a var global by prefacing it with a $ instead of a %.