Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetSwingDoorClosed
Author Message
Hooumeri Offline
Member

Posts: 57
Joined: Oct 2010
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
junkfood2121 Offline
Senior Member

Posts: 267
Joined: Jan 2011
Reputation: 3
Post: #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.

May I present to you.. the Grunt Cannon:
http://www.youtube.com/watch?v=v9KjvvVzNNg
03-13-2011 09:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)