Frictional Games Forum (read-only)
Valve is moving back! - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Valve is moving back! (/thread-24006.html)



Valve is moving back! - KiraImmortal - 12-01-2013

Another problem i've encountered today. I connected a valve with a door, it is working of course, but i'm having trouble with stucking the valve in its position, when the door reaches the maximum height (the door and valve is always starting to move backwards, it means the door will close in some seconds). How can i make the door to remain in its position after turning the valve (not the starting, but its maximum height place)?


RE: Valve is moving back! - failedALIAS - 12-01-2013

Misleading title is misleading.


RE: Valve is moving back! - FlawlessHappiness - 12-01-2013

I'm pretty sure there is something you can check either in the door or the valve.
Or maybe it's a specific type of door you need. Yes, probably that. There are 2 types of the door you are using. Try using the other one.


RE: Valve is moving back! - Daemian - 12-01-2013

The wheel should have an option to get stuck at max/min.


RE: Valve is moving back! - FlawlessHappiness - 12-01-2013

(12-01-2013, 04:19 PM)Amn Wrote: The wheel should have an option to get stuck at max/min.

No, that just sets it stuck from the beginning.


RE: Valve is moving back! - KiraImmortal - 12-01-2013

yeah that function stucks the valve at the beginning. but maybe there is another function which we didn't notice. by the way i found the right door, thanks for replying!


RE: Valve is moving back! - Daemian - 12-02-2013

What? Are you sure?
Ok then, you can set the wheel stuck when it hits its max and there you go.

PHP Code:
SetEntityConnectionStateChangeCallBack wheel namecallback a )
void callback a set wheel stuck at max; }