Why wont this work??

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
mix-man
Private
Posts: 6
Joined: Sat Mar 06, 2004 8:13 am

Why wont this work??

Post 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
}

User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

use

Post 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
Tom Trude,

Image
Post Reply