This profile is from a federated server and may be incomplete. Browse more on the original instance.

crei0,

@plixel @Rodeo
The way I'm doing in my game is by

  1. Using a Signals.gd script

  2. Add that script to Project settings > Autoload, this makes the script globally accessible (singleton)

  3. Then from the scene I want to send the signal, I do
    Signals.my_signal_was_triggered.emit(<optional variables here>)

  4. Then on the scene/node (can by multiple) I want to receive the signal emission, I do
    Signals.my_signal_was_triggered.connect(my_function)

  5. Create the function "my_function"

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • Ask_kbincafe
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines