External scripts

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JulioYagami

There is a way to load external scripts and attach them to nodes?

:bust_in_silhouette: Reply From: Jowan-Spooner

Hey JulloYagaml,
You can set a nodes script with


As you can see from this, paths can be global as well as local.

You can also easyly copy files into your game using the Directory class.

Hope I was able to help.