Possible for a door to stay open?
by SqHd · in Torque Game Engine · 12/26/2007 (10:22 pm) · 3 replies
Hello,
I've recently added the door resource (from ch. 4 of Advanced 3DGPAi1) into TGE. It's great to have doors! I noticed that they swing closed on their own (after a set time).
Is there any way to have the door stay open until a key is pressed to close it?
Thanks.
I've recently added the door resource (from ch. 4 of Advanced 3DGPAi1) into TGE. It's great to have doors! I noticed that they swing closed on their own (after a set time).
Is there any way to have the door stay open until a key is pressed to close it?
Thanks.
#2
12/27/2007 (7:19 pm)
Thanks for the advice. I've checked out some of the other door resources. A couple had the same auto close feature, but it looks like one might be promising. I'm going to try your suggestion in the next day or so. I'm an artist so it'll be intereting. :)
#3
01/04/2008 (9:43 pm)
You could also give $DOORS::HOLD_TIMER (at the top) a really high number and that should keep the door open for a long time.
Torque Owner ChrisG
I can't be more specific as I don't have the book you're using - but the theory should be correct.