codelyoko373 Posted June 13, 2021 Share Posted June 13, 2021 (edited) I have a mod character that can bring specific creatures to his side and make them his followers, though I've discovered that they stop being your followers when reloading the game. I was wondering if there is a simple way to fix this or not? Or if anyone has a good idea of how I could resolve this issue? Edited June 13, 2021 by codelyoko373 Link to comment Share on other sites More sharing options...
Thomas Die Posted June 13, 2021 Share Posted June 13, 2021 Make them become your pets or have an extra components to save them but pets is easier but they will despawn with you. so if you join a friends lobby and you hop of they dissipear off your friends world and rejoin with you --adding the components to the character inst:AddComponent("petleash") inst.components.petleash:SetMaxPets(Total_Max_Pets) --spawning in the pet through component --Spawning from character inst.components.petleash:SpawnPetAt(x,y,z,prefab_name) 1 Link to comment Share on other sites More sharing options...
codelyoko373 Posted June 13, 2021 Author Share Posted June 13, 2021 59 minutes ago, Thomas Die said: Make them become your pets or have an extra components to save them but pets is easier but they will despawn with you. so if you join a friends lobby and you hop of they dissipear off your friends world and rejoin with you --adding the components to the character inst:AddComponent("petleash") inst.components.petleash:SetMaxPets(Total_Max_Pets) --spawning in the pet through component --Spawning from character inst.components.petleash:SpawnPetAt(x,y,z,prefab_name) That worked prefectly! Thank you 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