Create a_thifling_sprite.lua

This commit is contained in:
huffin 2018-06-21 08:59:35 -05:00 committed by GitHub
parent 7ce2a2d90e
commit 102ce46de0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,11 @@
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