mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
11 lines
269 B
Lua
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
|