![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | shinspiegel |
Hi,
Short Question:
How can I use a Export (NodePath) var to select via Inspector a Node external to the scene?
Longer Question:
I want to create a basic script to create a instance of a explosion every time the Health of a enemy reach zero. The explosion is a scene itself and I want to instantiate a different scene for different enemies.
So I though that a export variable could be useful for that, but it only let me choose a Node inside the actual scene, I cannot get a external scene or node.
There is a way to do that without need to hardcode the path for every script?