system
1
|
|
|
 |
Attention |
Topic was automatically imported from the old Question2Answer platform. |
 |
Asked By |
Christoffer Schindel |
Hi,
Is there a way to remove a script from a node in scripting?
You can SetScript and GetScript, but is there something like RemoveScript?
I tried to SetScript(null), but that made no changes.
system
2
|
|
|
 |
Reply From: |
Schweini |
Click on the node, then click on the script with the red script (which is locatet next to the nodes search bar)
system
3
|
|
|
 |
Reply From: |
Magso |
You can attach the script to an empty child node and use queue_free() to rid of that node thus stopping the script.