Frictional Games Forum (read-only)
Water Wheel Cog Panel Script? - 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: Water Wheel Cog Panel Script? (/thread-15946.html)



Water Wheel Cog Panel Script? - P44RTHURN4X - 06-07-2012

Please help me! I need the script for the Water Wheel Cog Panel (level editor -> entities -> special -> water_wheel_cog_panel). The basic "SetEntityConnectionStateChangeCallback("...");" doesn't work! What now?

GReeZe' P44


RE: Water Wheel Cog Panel Script? - Your Computer - 06-07-2012

(06-07-2012, 07:52 PM)P44RTHURN4X Wrote: What now?

Well, you didn't tell us what you want, so you're on your own!


RE: Water Wheel Cog Panel Script? - P44RTHURN4X - 06-08-2012

Yes, I said what I want!

I need the script for the water wheel cog panel entity. But if I do this:

SetEntityConnectionStateChangeCallback("water_wheel_cog_1", "waterwheel");


void waterwheel(string &in asEntity, int alState)
{
if(alState == 1)
{
SetLevelDoorLocked("lvl_1", false);
}

it doesn't work! If I change the level to left or right the level door 1 is still locked!



GReeZe' P44
}


RE: Water Wheel Cog Panel Script? - Your Computer - 06-08-2012

SetMultiSliderCallback.


RE: Water Wheel Cog Panel Script? - P44RTHURN4X - 06-09-2012

(06-08-2012, 06:04 PM)Your Computer Wrote: SetMultiSliderCallback.
What's the differenz of "SetMultiSliderCallback" and "SetEntityConnectionStateChangeCallback" ?
I will try it and I hope SO MUCH!!! that it will work exactly! Thank you!



GReeZe' P44