I'm working on a game that resembles something along the lines of brotato / vampire survivors (original, i know)
And currently i have in my head that signals are a bit like events.
however, they're isolated events.
What i want, is to have a item, that listens for a "event" with a specific name, say "item_picked_up", or "gold_collected" or "enemy_killed", you get the idea.
And to accomplish this, i had in mind to add a text input for a item's effect, with the event name in it.
so when that event is called, the item knows it needs to apply its effects, and whabam it's done.
However, i've come to realise, that it's not that easy, and probably i'm doing it wrong.
Since i need the node to connect the signal from, however, it being a text input, that's kind of impossible to do-
Sure, i can have a enum with signals in it, but that feels like a hack more than the way i'm supposed to do it
thanks in advance