Can scripting be used to make a pinball machine?

RuRude JamesJan 09 201605042
    Halo and Forge Discussion

I wanted to make a pinball machine that uses 2 switches to make the left and right pads move to hit the ball up the ramp. Is this possible?