Synchronizing attributes in the network issue

Keplerians

New member
Hi! I am here with another question, this time about attributes.

Have i missed something or auto-update attributes are not supported with PUN?

In that case, what would you recommend to update the attributes in the network in a proper way?

I have checked the component PunAttributesMonitor, but figured out that you only update the attributes when a new player enter the room or some importante events.

I would like to update an attribute when some auto-update is used (ability is decreasing it, or just the auto-update of the attribute manager)

Thank you very much.
 

Justin

Administrator
Staff member
I just checked and right now the PUN add-on doesn't sync the attributes. We are close to releasing a new update to the PUN add-on so I don't want to add anything new but will add this to my list for the next version.
 

Keplerians

New member
Don't worry. But any suggestion on supporting this? Maybe with the modified attribute event? So the RPCs are only sent when the attributes have been modified?

Thanks for any help.
 

Justin

Administrator
Staff member
Yes, that is the plan. It will take a new RPC call to tell it when the attributes are started/stopped.
 
Top