Download

How to check a variable while playing?

Hi,
I am working on a project and I am trying to find a way to read a value of a variable (like a player kills) while playing the game in multiplayer.
Ideally, every time the variable changes, the value is sent to Python, while the game is running.
How can I do this?
Thanks a lot in advance