peq-quests/growthplane/a_thifling_chanter.lua
2018-06-21 09:01:06 -05:00

11 lines
269 B
Lua

function event_signal(e)
entity_list = eq.get_entity_list();
if(e.signal == 1) then
local mobtypeID = entity_list:GetMobByNpcTypeID(127098);
local follow_mob = mobtypeID:GetID();
eq.follow(follow_mob);
elseif(e.signal == 2) then
eq.stop_follow();
end
end