hey, its Ledz, I wrote an SQL and LUA for a portal I wanted to use, but when I right click it, it starts me casting Word of Recall (OLD). Here are my scripts:
LUA:
SQL:function Teleport_onUse (pUnit, Event, pMisc)
pMisc:Teleport (1, 16228, 16404, -64)
end
RegisterGameObjectEvent (50001, 2, 'Teleport_onUse')
So there ya go, if you know of how to fix this problem, or anything about it, help please.INSERT INTO gameobject_names (entry, Type, DisplayID, Name, spellfocus) VALUES (50001, 22, 1327, 'Portal to Jump Prize!', 0)
Thanks a bunch,
~Ledz