Hurl Posted June 15, 2017 Share Posted June 15, 2017 Ok, I want a friend or a pet kinda like Abigail for my character. But I don't know how to. Can someone tell me what codes to make a friend to put in and where to put it. Also, can I change the texture of the pet/friend? If so, how? Link to comment https://forums.kleientertainment.com/forums/topic/79881-how-to-make-friend-for-custom-character/ Share on other sites More sharing options...
alainmcd Posted June 15, 2017 Share Posted June 15, 2017 Abigal uses this code in her constructor function: inst:AddComponent("follower") local player = GetPlayer() if player and player.components.leader then player.components.leader:AddFollower(inst) end Link to comment https://forums.kleientertainment.com/forums/topic/79881-how-to-make-friend-for-custom-character/#findComment-932020 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