Game Development Community

Case statement

by baylor wetzel · in Torque Game Builder · 01/28/2007 (8:55 pm) · 1 replies

Since case statements in Torquescript can't fall through, is there a way to do something like

case 1-3:
doSomething();

#1
01/29/2007 (2:52 am)
Not as far as I know. If that's your goal, you could always just opt for an if statement instead.