![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Modley |
Let’s say we have a Button node that we’re gonna call “B”, connecting a signal to another node, that we’re gonna call “N”. If we duplicate B from N’s script (we’ll call the duplicate “BD”), will BD’s signal still connected? (since B had the same signal connected to N)
By the way, if BD emits the signal it would count as if B did it and vise-versa, right?
If you emit the signal form the script in the object . i think yes . If you want your object to be sure it talk to him with the signal . In my project i do … If (self == reference to the object that is in collision)
or what ever. Or add a WHO parameter like .emit(self)
does that help ? Im not sure i would test it first
purple_mage | 2023-04-01 20:32
also i never used it but you can do .disconnect to ! if needed .
purple_mage | 2023-04-01 20:40