Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetSwingDoorClosed
Hooumeri Offline
Member

Posts: 57
Threads: 11
Joined: Oct 2010
Reputation: 0
#1
SetSwingDoorClosed

How can I open doors, like in the beginning of Amnesia..?
I tried the SetSwingDoorClosed command, but it doesnt do a thing. Then I copyed the script from rainy halls .hps file, still no change. The door just jammed and wouldnt budge. Basically only thing different with the script was this:

void SetSwingDoorDisableAutoClose(string& asName, bool abDisableAutoClose);

DisableAutoClose was at true. Any help appreciated..

Another problem I'm having is that I can't find a way to set doors active/disactive. SetEntityActive doesnt work for doors..
03-13-2011, 08:51 PM
Find
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#2
RE: SetSwingDoorClosed

Well, for slow openings, refer to my thread: http://www.frictionalgames.com/forum/thread-6624.html

For fast openings, like someone hit the door, use AddPropImpulse.

Creator of The Dark Treasure.
03-13-2011, 09:22 PM
Website Find




Users browsing this thread: 1 Guest(s)