Does anyone know if there is a line in the script that tells me when the plunger is pulled all the way back? In other word if I wanted to light a light, when (and only when) the plunger is pulled back to its farthest position.
You can yes, kind of.
take a look at heavy metal, not the classic version
Look where i track the plunger position to decide if the analog plunger should trigger the video on pull and release.
you can do a same routine, and get the position oof the plunger
and tun on a lamp if the plunger position is more than a given value
you can output the plunger position to a text box to see what the values are
you probably want to trigger it a bit before full pull to allow for variance in people's analog plungers
I would give you code but not near desktop




Top





















are all trademarks of VPFORUMS.