Page 1 of 1
Disable!?!?
Posted: Sun Mar 28, 2004 11:58 am
by chrisjbooth2001
How can i disable a thread when something happens like a door opens.. The door is operated by a switch...
Posted: Sun Mar 28, 2004 12:29 pm
by jv_map
Hmm you need to improve your understand of scripting a bit
A thread is not something you can disable.
loop
Posted: Sun Mar 28, 2004 2:09 pm
by tltrude
You can stop a while loop with the command "break".
Posted: Tue Mar 30, 2004 4:29 am
by kai0ty
um, well do u mean when the door is open a thread will stop running??? if so u can just put the thread in an if statement and have the switch both open the door and negate the if. i cant show u because my enter key wont work, but someone can.