Unlock door when timer is run out - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Unlock door when timer is run out (/thread-8276.html) Pages:
1
2
|
RE: Unlock door when timer is run out - Greven - 05-27-2011 (05-27-2011, 03:04 PM)dasde Wrote:(05-27-2011, 03:00 PM)Greven Wrote:(05-27-2011, 02:54 PM)dasde Wrote: Thanks for the fast replies, very nice. Ok... that shouldnt make a difference. hmmm i cant really see what the problem is... Only that if you try to open it before 30 s... Edit: Lol silly me and my nooby mistakes, after AddTimer("", 30.0f, DoorOpen) ther should be a ; and also after the SetSwingDoorLocked("BruteDoor_1", false, true) RE: Unlock door when timer is run out - dasde - 05-27-2011 Quote:Ok... that shouldnt make a difference. hmmm i cant really see what the problem is... Only that if you try to open it before 30 s... Edit: Lol silly me and my nooby mistakes, after AddTimer("", 30.0f, DoorOpen) Already done RE: Unlock door when timer is run out - Greven - 05-27-2011 Ok then unlock the door in the editor and lock it in the script instead, Even though it shouldnt matter... Code: OnEnter() RE: Unlock door when timer is run out - dasde - 05-27-2011 (05-27-2011, 03:25 PM)Greven Wrote: Ok then unlock the door in the editor and lock it in the script instead, Even though it shouldnt matter... LOOOOOOOOOOOOOOOOOOOL it worked! Thank you so much |