devon7600 Posted May 31, 2016 Share Posted May 31, 2016 I can get my companion to spawn but when I leave the server or go to caves/overworld I get a second version of him and he doesn't despawn. Can anyone tell me what I'm doing wrong here? edwin_summon.lua edwin.lua Link to comment https://forums.kleientertainment.com/forums/topic/67784-companion/ Share on other sites More sharing options...
rezecib Posted May 31, 2016 Share Posted May 31, 2016 @devon7600 Since you've based your implementation off of Abigail, I suspect you're missing the relevant code in Wendy's prefab, which is what handles removing Abigail when Wendy leaves -- see OnDespawn. Link to comment https://forums.kleientertainment.com/forums/topic/67784-companion/#findComment-778373 Share on other sites More sharing options...
devon7600 Posted May 31, 2016 Author Share Posted May 31, 2016 thanks Link to comment https://forums.kleientertainment.com/forums/topic/67784-companion/#findComment-778389 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