uberkillmachina Posted June 5, 2021 Share Posted June 5, 2021 So, I'm trying to make a prefab with its owner (who crafted->placed it is). I have no clue how to implement this. Also, where should I store owner's nickname/ID? Thanks Link to comment Share on other sites More sharing options...
CarlZalph Posted June 6, 2021 Share Posted June 6, 2021 The player's builder component's onBuild function passes the builder and product where you can then record it on the product prefab. From there the product should have it save the builder's userid field in the OnSave function, and load it back in the OnLoad function. Link to comment Share on other sites More sharing options...
uberkillmachina Posted June 6, 2021 Author Share Posted June 6, 2021 Thanks! 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