I have something I want to do and I'm not at all sure of the best approach. Essentially I want a switch that can be held down by holding "activate" and that has an increasing effect the longer it is so held. I'll tell you why
I have a puzzle dungeon with a some dwemer bridges in them. There's a switch to extend or retract the bridge, but it only works if there's sufficient energy/steam/whatever built up. A second switch, situated reasonably near-by will allow the player to pump up the needed resource. (There needs to be some feedback mechanism as well, so the player can see the effect of their actions. A row of lights, a raised column but I'm not so worried about that part).
The way I want it to work is like this: The first bridge the player encounters is working normally. The second one needs to be pumped up by hand before it will operate. The third one needs pumping up, but only holds pressure for a moment before dropping again. And the fourth one is the same, but there's fallen masonry between the two switches preventing the player from simply running from one switch to the other ... and well, that's the basis of the puzzle.
The problem I have is with the pumping switch. I originally had in mind a crank wheel that could turn when the player held down the activate key. But having thought about it I'm not sure there's a suitable activator in the kit. (I'm at work so can't check - worrying during lunch hour again...)
Of course, it doesn't have to be a crank. Just about anything would do. But I'm also not sure how to make an activator that increases effect as the key is held down.
Maybe I should just have a row of ten buttons or so where each one enables a magelight or something. It seemed such a simple idea when it first popped into my head...
Anyway, suggestions are welcome