```lua
function _G.BANETO_ExecuteCustomQuestPulse()
local npcFollowId = 123
local npcFollowRange = 20
local npcFollow = GetObjectWithId(npcFollowId)
if npcFollow then
_G.BANETO_ExecuteCustomQuestPulse_SkipNormalBehavior = true
local x,y,z = BANETO_ObjectPosition(npcFollow)
if not BANETO_PlayerPosition(x,y,z,npcFollowRange) then
BANETO_MeshTo(x,y,z)
else
BANETO_StopMovement()
end
end
end``` Example custom pulse for a "Follow npc" quest.