Jump to content

Issue with making mob follow other mob with commands.


Israphelite
  • Pending

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.



User Feedback


There are no comments to display.



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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...