I'm trying to put together a small script to show a small icon when a driver uses P2P. So I need to check, whether P2P is active, but I can't find under which script path it's hidden?
Thank you! I'll give it a shot and report back on that.
Also, does that mean there could be reliability issues even if I use it through the editor's Data Bindings?
NT
Nick Thissen
Appgineering
Reply #3
Yes, the bindings use the same data.
LR
Lukas R.
Reply #4
Just did some testing and while P2P Count works, P2P Active seems to be giving only "FALSE". Very interesting, so there are really some issues then.
NT
Nick Thissen
Appgineering
Reply #5
I have tested it and pretty sure it was working for my own car at least. But there is some delay in the data.
LR
Lukas R.
Reply #6
Fixed now, it's all working well! It feels a bit faster when in a spectator mode, due to the sync, luckily.
LR
Lukas R.
Reply #7
Ok, so I've finally got to test this feature with our drivers on a bigger multiplayer server. That delay is interesting. Speed, gears, and P2P Count works without almost any delay. But the 'Active' check is unreliable and when it works, the delay is massive, from 6 to 12 seconds.
I'm thinking of a workaround using the 'Count' - whenever it gets +1, I'd show a pop-up graphics for a certain amount of time.