Passing Host Port from Field #1

Closed
opened 2020-06-26 14:10:21 -04:00 by drraccoon · 0 comments
Owner

Within menu.gd. Need to pass $HostPanel/host_port.text to the host_game(port) function. Currently it returns with an error.

Invalid type in function 'create_server' in base 'NetworkedMultiplayerENet'. Cannot convert argument 1 from String to int.

Im sure its simple but Im apparently being dumb about it.

Within `menu.gd`. Need to pass `$HostPanel/host_port.text` to the `host_game(port)` function. Currently it returns with an error. > Invalid type in function 'create_server' in base 'NetworkedMultiplayerENet'. Cannot convert argument 1 from String to int. Im sure its simple but Im apparently being dumb about it.
drraccoon changed title from Passing field variables to Passing Host Port from Field 2020-06-26 14:11:44 -04:00
drraccoon added this to the Confirm Hosting is actually working milestone 2020-06-26 14:15:32 -04:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: drraccoon/GD-Polo#1
No description provided.