So I'm trying to make it so a kittykit follows a catcoon by spawning them in and using this command.
c_find("critter_kitten",80):DoPeriodicTask(3,function(inst) inst.components.locomotor:GoToEntity(c_find("catcoon",30)) end)
It works to a extent but the kitty kit only just barely moves to the catcoon. The real problem though is, whenever a friend joins, the game crashes! Please help. This seems real bad.
Steps to Reproduce
Spawn a Kittykit and Catcoon, then paste the command in.
This issue has not been confirmed by a developer yet.