Closed Jummit closed 1 year ago
Still valid in 65730ab
This is still valid in Godot 3.2.4 beta 5 as shown in the screen recording below:
https://user-images.githubusercontent.com/1403194/104142120-d9d9dc00-5398-11eb-9ded-c345beef7439.mp4
Currently, the only way to get the root node in Visual Script is via _getnode() as shown in the screen recording below:
https://user-images.githubusercontent.com/1403194/104142203-4523ae00-5399-11eb-9194-4ee1f873311b.mp4
However, this bug makes it impossible to get the root node property out of 1 Visual Script node. Moreover, the property input box in the Object.get() node is based on string input, instead of a more intuitive selectable properties list presented in the property box accessible in the inspector tab if the Get Scene Node works as intended.
https://user-images.githubusercontent.com/1403194/104142590-fd9e2180-539a-11eb-9b40-d8d509d5e23f.mp4
Did not know about that but try https://godotengine.org/asset-library/asset/922 then you are able to edit the path as string
Closing as VisualScript isn't part of Godot anymore.
Godot version: v3.2 4ad255a Downloaded from Hugos website.
Issue description: When assigning the root node to a NodePath in a VisualScript
Get Scene Node
node, it gets set to the node with the script attached.Steps to reproduce: Make a new scene with a root and a node with a vs script attached and add a
Get Scene Node
. Try setting it to the root node.