I’m using the GraphEdit node along with GraphNode to make a dialogue creator but i came across a problem, when connecting two GraphNodes i use the request_connection() method which have from_node and to_node which supposed to represent the nodes the problem is i can’t seem to get a reference to each of those nodes since they are StringName
Is there a reliable way to get the reference to both nodes?
using get_node() gives this error:
Error at (53, 14): Invalid argument for “get_node()” function: argument 1 should be “NodePath” but is “StringName”.
i also tried find_child() which expects a string in its paramater but it always fail to find it
So if i loop through all the children and compare each with the to_node Id find it?
Looks really counter intuitive why not have from_node and to_node both be the actual reference to both the GraphNodes?