#Grab variable from player
1 messages · Page 1 of 1 (latest)
you store their kills and deaths as a synced variable in the PDB
this way you dont have to deal with the hell and delays of requesting data from other players
instead you can just request it directly from their PDB, which is instant
something else to note: the event for variable changed breaks when the player board is created as a result of joining the room
so if you need to use variable changed events then youll have to find workarounds
Request data via an event sender anywhere, and event receiver inside the PDB, then an event sender inside the PDB and and event receiver preferably near where you placed the initial event sender
What’s PDB
;-;
player definition board
Player Definition Board
OHHH
if you already understand how those work then you can leverage it to toss data around without having to spend alot of net
provided you dont update too much in a short enough timeframe
PDB is for each individual right? If the variable is synced it doesn’t affect others?
If it is synced, it wont affect other player definition boards
Synced just means everyone sees the same value for that player definition board specifically
A player definition board is like a circuitboard everyone has a clone of, you just cant see it