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
What's the deal with SetSwingDoorDisableAutoClose and SetMoveObjectStateExt?
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#1
What's the deal with SetSwingDoorDisableAutoClose and SetMoveObjectStateExt?

This is headed directly towards FG.


I've tried using both SetSwingDoorDisableAutoClose and SetMoveObjectStateExt, and none of them seem to have any effect whatsoever.

I'd expect SetSwingDoorAutoClose would prevent doors from snapping when you close them.

But it still snaps.

And I expect SetMoveObjectStateExt would make my door swing to a certain position?

No effect whatsoever.

I've made sure the function is called using AddDebugMessage, and even used SetEntityActive on the very same door, and it does disappear, so I know the functions are called with the right parameters.



So my question is... Are the functions broken, or is this not what they're meant to do?


Thanks in advance.

[Image: 16455.png]
09-16-2010, 08:49 PM
Find
Thomas Offline
Frictional Games

Posts: 2,634
Threads: 184
Joined: Apr 2006
Reputation: 68
#2
RE: What's the deal with SetSwingDoorDisableAutoClose and SetMoveObjectStateExt?

SetSwingDoorAutoClose works, make sure the that u have the right name and such (check log). Also, I think it is reset to true when the player interacts with the door.

SetMoveObjectStateExt is used on MoveObjects, which is a special entity. For example the door that u have turn a valve to open when facing the water lurker, or the doors close to Agrippa.
09-16-2010, 11:37 PM
Find




Users browsing this thread: 1 Guest(s)