#need help with int variable not updating
1 messages · Page 1 of 1 (latest)
Send just one picture of all the Cv2
make sure you can see the chip names
it’s hard to see in the video
which one doesn’t update?
temp kills
Well you got it right in your description that it’s a Networking problem. Reason this is happening is because only the person who died/got hit runs the Circuits. The killer would never be able to run the death circuits that adds 1 to his kills because he NEVER died or got hit
how would i fix it
There’s Networking chips for this
You would have to send a signal/event/execution to him so that he can add 1 to his variable
You can’t do it for the killer because of how Variable networking works in RR
To do this
You need
A event definition, event sender, event receiver
Config the event definition and give it a name, EX “Reward Killer”
Config the event sender, set the event to “Reward Killer” and set the target to PLAYER
Config the event receiver and set it to “reward player”
Now wire the event receiver to the variable that adds the kills
Wire the event sender somewhere in your death circuits, and wire in the Killer/Attacker into its player input
So what this does is, it sends a signal to the killer so that THEY can add +1 to there variable. Because the person who died CANNOT change the variable amount for the killer
This goes for any variables in RR you can’t change another players value so you have to set up some Networking Events and tell them to change it themselves
@thorn tree
It’s long but it’s mainly just explanations