Frictional Games Forum (read-only)
Another problem... (Valves...) - 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: Another problem... (Valves...) (/thread-11491.html)



Another problem... (Valves...) - SonOfLiberty796 - 11-25-2011

-___- Sorry if I'm being annoying by asking all these questions.

Another problem I'm having is that the valve I placed isn't rotating at all. When I interact with it, it does not move. It's stuck.

Is there scripting I have to do? Or an area? Or what is it?

Please help!

P.S. I did look at the original Amnesia maps as an example, did the exact same setting with the exact same valve type, and still nothing.


RE: Another problem... (Valves...) - flamez3 - 11-25-2011

It could be set in the stuckstate, put this in your void OnStart function block:

SetWheelStuckState("nameofvalve", int alState, bool abEffects);


Int alState :
0 = not stuck, 1 = at max, -1 = at min




RE: Another problem... (Valves...) - SonOfLiberty796 - 11-26-2011

(11-25-2011, 04:43 AM)flamez3 Wrote: It could be set in the stuckstate, put this in your void OnStart function block:

SetWheelStuckState("nameofvalve", int alState, bool abEffects);


Int alState :
0 = not stuck, 1 = at max, -1 = at min
Still didn't work :/





RE: Another problem... (Valves...) - flamez3 - 11-26-2011

(11-26-2011, 02:57 AM)Xvideogamer720X Wrote:
(11-25-2011, 04:43 AM)flamez3 Wrote: It could be set in the stuckstate, put this in your void OnStart function block:

SetWheelStuckState("nameofvalve", int alState, bool abEffects);


Int alState :
0 = not stuck, 1 = at max, -1 = at min
Still didn't work :/
what valve are you using?


RE: Another problem... (Valves...) - SonOfLiberty796 - 11-27-2011

(11-26-2011, 03:31 AM)flamez3 Wrote:
(11-26-2011, 02:57 AM)Xvideogamer720X Wrote:
(11-25-2011, 04:43 AM)flamez3 Wrote: It could be set in the stuckstate, put this in your void OnStart function block:

SetWheelStuckState("nameofvalve", int alState, bool abEffects);


Int alState :
0 = not stuck, 1 = at max, -1 = at min
Still didn't work :/
what valve are you using?
Never mind got it to work! I used the wrong valve entity :p