#Grab variable from player

1 messages · Page 1 of 1 (latest)

lone valley
#

I’m making a king of the hill gamemode with CV2 and I want to make a scoreboard

But I’m only using two variables one for kills and Deaths, if I’m using only two int variables.
How do I grab a variable from a specific player?

echo knot
#

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

cyan bluff
#

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

echo knot
#

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

lone valley
#

;-;

cyan bluff
#

player definition board

echo knot
lone valley
#

OHHH

cyan bluff
#

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

lone valley
echo knot
#

A player definition board is like a circuitboard everyone has a clone of, you just cant see it