implementing the gui for the touch screen, everytime i try to get the node from the character script i get this error: bad argument #3 to 'get_node'
do i have to tell the exact url of the node or is not posible to use gui functions from a normal script?
You can not use gui-functions from a go-script and vice versa. If you need a go to update gui, send a message to the gui-script and do the updating there
what i want to do is get the arrow of the controller from the script of the character. so I need to do a gui script to handle the input and send to the character a mesage with the arrow picked?
You could handle the input in the character script directly, but if you want to to handle it in the gui-script file you would then send a message to the character with the direction
EDIT: I missunderstood your question first, so forget about handing the input in the character script. Check what gui-node is touched and then pass that to the character script.
Correct. As Johan said, you cannot use any of the gui.* functions in a .script and you cannot you any of the go.* functions in a .gui_script. And in a .render_script you cannot use either of gui. and go.
This is by design and to encourage the use of message passing, as that is the recommended way of interaction between components of different types.