[Plugin] Baz Signal Relay

This allows you to connect base Godot node signals to AGMaker visual scripts.

How to install:

  1. Download the plugin and unzip
    baz_signal_relay_v1.1.zip (7.2 KB)

  2. Take the addons folder and copy it into your project (if you already have an addons folder it will only add the needed folder and won’t overwrite anything)

  3. Add the BazSignalRelay as a child to any node you want the signals from (the example below is a Button node)

  4. Setup the Game Object (where the visual script is) and the Signal Relay Configs:

    1. Parent Signal Name (example ‘pressed’)
    2. AGMaker Signal Filter Name (this should be unique incase multiple buttons, so for example ‘health_btn_pressed’
    3. Arguments if any. Some signals come with more than 1 argument, the index takes the one you want and the output is from the selected options from the SignalDetected condition. If the types don’t match, it will return null. This part is a WIP, but for the most part it works well.
  5. In the visual script add SignalDetected condition and take the signal filter name you used from section 4.2 and put that there.

  6. Playtest and the Godot signal should now convert to a AGMaker received_signal!

Video showing steps 3-6:

5 Likes

Updated to v1.1:

  • Added support for Area2DGameObject’s (node will give a warning if a GameObject or Area2DGameObject is not selected)
  • Instead of typing parent signal name, you can now select them from a drop down

1 Like