I'm not sure about track BGOs, but here's how I typically do that clearpipe one, using an example from one of my levels.
Just stick this in your
luna.lua file, change the numbers in the clearNPCs table to the IDs of the NPCs you want, and all should be good:
Code: Select all
local clearNPCs = {579,578,414,282,281,280,71,23}
local c = require("blocks/ai/clearpipe")
for _,npc in ipairs(clearNPCs) do
c.registerNPC(npc)
end