Page 1 of 1

Why wont this work??

Posted: Tue Mar 09, 2004 8:02 am
by mix-man
i cant figure out why this simple little script wont loop.. can someone help me out here:

Code: Select all


//THIS IS A TEST SCRIPT

while ( 1)
{
+use
-use
wait 10
}


use

Posted: Tue Mar 09, 2004 8:23 am
by tltrude
What is it for? I don't think "+use" and "-use" are script commands. A script thread should start with a name and stop with the word "end".

//THIS IS A TEST SCRIPT

Main:

level waittill prespawn

level waittill spawn

thread test_loop

end

test_loop:

while ( 1)
{
iprintln "+use"
iprintln "-use"
wait 10
}

end