Page 1 of 1

make other npcs follow lineguides

Posted: Thu Feb 06, 2020 1:38 pm
by hEllO tHerE
idk if its a feature but can you make other npcs follow lineguides?

Re: make other npcs follow lineguides

Posted: Thu Feb 06, 2020 1:55 pm
by MrDoubleA
Put this somewhere at the start of your luna.lua file:

Code: Select all

local lineguide = require("lineguide")
... and this to register each ID.

Code: Select all

lineguide.registerNpcs(npcID)

Re: make other npcs follow lineguides

Posted: Thu Feb 06, 2020 2:07 pm
by hEllO tHerE
idk how to use lua, can u show me a pic of what it looks like in lua?

Re: make other npcs follow lineguides

Posted: Thu Feb 06, 2020 2:20 pm
by MrDoubleA
hEllO tHerE wrote:
Thu Feb 06, 2020 2:07 pm
idk how to use lua, can u show me a pic of what it looks like in lua?
Here's an example.
Image

Re: make other npcs follow lineguides

Posted: Thu Feb 06, 2020 2:26 pm
by hEllO tHerE
ty it worked :)