projecteq-projecteqquests/freporte/10183.lua
2015-03-14 16:18:39 -04:00

14 lines
343 B
Lua

function event_waypoint_arrive(e)
if(e.wp == 1) then
local xloc = e.self:GetX();
local yloc = e.self:GetY();
eq.set_proximity(xloc - 40, xloc + 40, yloc - 40, yloc + 40);
elseif(e.wp == 2) then
eq.clear_proximity();
end
end
function event_enter(e)
e.self:Emote("'s spirit moves you to another land ...");
eq.SelfCast(2279);
end