Frictional Games Forum (read-only)
Lever help needed - 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: Lever help needed (/thread-16719.html)

Pages: 1 2 3


RE: Lever help needed - Steve - 07-04-2012

(07-04-2012, 07:13 PM)FastHunteR Wrote: Look how frictional games made it by searching the map with that hatch that is raised by a rope, look in the script file and figure out how they did it.

I already did that's where I got my basic from.
But mine is a bit different I don't have a piece of wood blocking it, I only have two pulleys and I don't have an wheel I have an lever so I didn't realy get more out of it that i still understanded


RE: Lever help needed - Cruzore - 07-04-2012

hell the question you asked about the hatch not being able to open by hand, you can look it up there since it's the same.


RE: Lever help needed - Steve - 07-04-2012

(07-04-2012, 07:17 PM)FastHunteR Wrote: hell the question you asked about the hatch not being able to open by hand, you can look it up there since it's the same.
yes and I looked but I didn't get one thing out of it concerning the hatch not being able top open but I did get an idea just now looking at the braales from that door that is being blocked.
but never mindthat idea xd


RE: Lever help needed - EddieShoe - 07-04-2012

So, if I understand this right... You do not want the player to be able to open the door by hand? Try using this func. I think it disables interaction with the entity so you can't use it.

void SetEntityInteractionDisabled(string& asName, bool abDisabled);


RE: Lever help needed - Steve - 07-04-2012

(07-04-2012, 07:25 PM)EddieShoe Wrote: So, if I understand this right... You do not want the player to be able to open the door by hand? Try using this func. I think it disables interaction with the entity so you can't use it.

void SetEntityInteractionDisabled(string& asName, bool abDisabled);
That might help thank I'll try it our later I don't have time now Big Grin


RE: Lever help needed - Steve - 07-04-2012

It worked! Finaly!!!
I only have an problem with one rope, but I do that tommorrow I thank you all for your help ;p


RE: Lever help needed - EddieShoe - 07-04-2012

(07-04-2012, 09:01 PM)Steve Wrote: It worked! Finaly!!!
I only have an problem with one rope, but I do that tommorrow I thank you all for your help ;p
I'm glad it worked. Smile