Enable/Disable Output Toggle

Discussion in 'PangoScript, Universe and Midi Templates' started by FutureWeapons, Mar 19, 2015.

  1. FutureWeapons

    FutureWeapons New Member


    I've started working with PangoScript in Beyond Universe and am looking to create a very simple toggle button. I would like the button to Enable and Disable laser output.

    What programming is required to accomplish this? I'm aware of the "EnableLaserOutput" and "DisableLaserOutput" commands but I'm not sure how to use them. Can someone show me how the Script for this would work?

  2. FutureWeapons

    FutureWeapons New Member

    Thanks Aaron. Two buttons would work just fine but I'm hoping there is a more elegant one-button solution. It would help my programming abilities to know how to code a two-state toggle.
  3. Flyingpictures

    Flyingpictures Beta Tester

Share This Page