multiplayer. how does IsNetRelevantFor function work??

I guess you could do a conditional replication of the values / actor.
Depending on your conditions are met.