Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Dexter_ |
I currently have a Player scene and its script wants to run a dead() function from an Enemy scene (another scene) that changes a varible and behavior in the Enemy Scene (kills the enemy)
The problem I’m struggling with is running a function via one scene to another scene and changing a variable in the other scene.
What do I do?
This is a duplicate. Please direct any further responses to the other message here:
https://forum.godotengine.org/80305/call-function-from-another-script-gdscript
jgodfrey | 2020-08-21 20:31
Yeah I just noticed, sorry!
Dexter_ | 2020-08-21 20:45