Search found 2 matches

by agrimminck
Sun Jul 23, 2023 1:15 am
Forum: Request Help
Topic: Using strings as to reference variables
Replies: 11
Views: 5075

Re: Using strings as to reference variables

Owen Lloyd wrote: Wed Jul 19, 2023 5:32 pm Interesting question. That sounds like using pointers, by ref, etc.

Does gdscript provide a way to use pointers?
it does when you use dictionaries, and if i'm not mistaken, they work for arrays aswell
by agrimminck
Sun Jul 23, 2023 1:08 am
Forum: Request Help
Topic: [Godot 4.1.1] How to setup client and server in the same game instance?
Replies: 1
Views: 4725

[Godot 4.1.1] How to setup client and server in the same game instance?

Hello there! I'm trying to get a game instance that can run a server AND a client at the same time, which, as the docs say, should be able to be done with the functions SceneTree.set_multiplayer() and SceneTree.get_multiplayer() https://docs.godotengine.org/en/stable/classes/class_multiplayerapi.htm...