How do I assign value from text?

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

Hello! So I am making a multiplayer game and I want the user to be able to assign themselves a nickname, what port they want to host on and the max users as I have a unchangable value from default but again I want a user to be able to change it on the menuscreen ingame.

Long story short:
I want to have 3 textboxs in the lobby screen
1 for username
2nd for max users
3rd for port number.

and then the values from that would set the game
how do i go about this?
thanks!

:bust_in_silhouette: Reply From: clemens.tolboom

Best thing is to follow High-level multiplayer — Godot Engine (stable) documentation in English or check with (references from previous) https://github.com/godotengine/godot-demo-projects/tree/master/networking/multiplayer_bomber