SetSwingDoorDisableAutoClose - 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: SetSwingDoorDisableAutoClose (/thread-4656.html) |
SetSwingDoorDisableAutoClose - nickTs - 09-22-2010 Code: else if (asTimer == "Slam1NoAuto") The door is shut and locked when this is supposed to activate, but it doesn't seem to work. I've checked for typos and all seems to be in order. Any ideas as to what's keeping it from working? RE: SetSwingDoorDisableAutoClose - jens - 09-22-2010 That function alone does not really do anything? It only disables so that a door will not auto close when getting within a certain angle to being closed. So the only use this function really have is to be used together with other functions, like for example when trying push a door open with an impulse (if not using disable autoclose, the door would auto close again after impulse is given.). RE: SetSwingDoorDisableAutoClose - nickTs - 09-22-2010 (09-22-2010, 04:07 PM)jens Wrote: That function alone does not really do anything? That's what I'm trying to do. I have it set to unlock then open with a body impulse a few seconds later. Edit: Here's the full timer if that helps. Code: else if(child == "Slam1Timer") |