Maris Posted December 18, 2015 Share Posted December 18, 2015 GUIDs from the server are defined somewhere.But where? Link to comment Share on other sites More sharing options...
ZupaleX Posted December 18, 2015 Share Posted December 18, 2015 I'm not sure I understand what you want. But if you mean from the client side, get the GUID from the server, I would send a RPC to retrieve the GUID and set a net variable with the GUID value to send it back to the client. Link to comment Share on other sites More sharing options...
Maris Posted December 19, 2015 Author Share Posted December 19, 2015 (edited) I'd like to improve Health Info mod. It still uses net_strings for names.I want make new script as on scheme: Edited December 19, 2015 by Maris Link to comment Share on other sites More sharing options...
ZupaleX Posted December 19, 2015 Share Posted December 19, 2015 Well except by sending a request to the server to then recieve the GUID via a net variable I don't see how to do it. Because as far as I know the GUID are not stored in a table or something. But then I don't know everything Link to comment Share on other sites More sharing options...
Maris Posted December 19, 2015 Author Share Posted December 19, 2015 (edited) I do not know too. So I have to add net_var to ALL prefabs in the world, sadly.I hope it won't sent network data until I really change net_var of certain prefab. Edited December 19, 2015 by Maris Link to comment Share on other sites More sharing options...
ZupaleX Posted December 19, 2015 Share Posted December 19, 2015 Technically, it sends network data only when the value of the net_var is set by the mastersim. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now