I can only see GetID(), not GetID2,3,other etc.
So i try to get the IP of the other connected player to use later for triggering events on specific clients.
My approach:
But as soon as this event is triggered the game freezes.
@arthuro555 what to do?
E: when i use “Trigger event on all connected clients” (without variables)
and use “P2P::GetID()” as extra data, the game does not crash, but i also do not receive the IP.
E2: NVM i did find the reason and a solution.
A Billion BIG DANKESCHÖÖÖNS!! to you arthur to make this possible <3
For everyone who wants to know how:
(in lobby scene)
The Player, who connects to the other one is stored in a global variable, i call Init.
Then the initiator sends his IP
(in Game scene)