Topic was automatically imported from the old Question2Answer platform.
Asked By
blurymind
Old Version
Published before Godot 3 was released.
I recall someone making a video on signals and showing a way to use a signal to trigger another node’s builtin class set method without having any script file on the target node.
Is that possible in godot editor, and if so - how do you do it?
Can signals trigger events on other nodes that have no script attached to them?
I don’t understand your question… so I’m just guessing here.
As far as I know you cannot implement a signal callback withou writting code (and that means attaching a script somewhere). What you can do on the editor is assign a node’s signal to another node (inside its script). Inside the callback function, you can access any class method of any node’s class.
If you can elaborate your question more, we can find the proper answer.
Hi, I found it on my own.
It is possible to access another node’s built in methods via the signal connection editor - and whats cool about it is yes - you dont need to attach a script file to trigger a method!
I didn’t know you could access those methods through the editor! Well, in the end we’ll have to stick to making that by code. I prefer that way, you have full control!