breaking a thread
Posted: Fri Jul 13, 2007 4:56 pm
I'm not sure if this would work:
Isn't there a way to break; out of a thread like in a c function?
Code: Select all
local.x = true
thread do_if_var_x_isnt_true local.x
...
do_if_var_x_isnt_true local.x
if(local.x)
end
$player iprintln "local.x isnt true!"
end