Originally Posted by
dongel
Hey there guys , i found many many guides , about custom portal by Sql & Lua .
--
I did few , but all they WONT WORK .
The portal is spawnable , but when i click on him , it write - World recall port (old)
Load, and nothing ......
--
Here is the SQL and LUA that i used :
INSERT INTO gameobject_names (entry, Type, DisplayID, Name, spellfocus) VALUES (1231231, 22, 1327, 'Gurubashi-Arena', 0)
________________
LUA :
function Teleport_onUse500 (pUnit, Event, pMisc)
pMisc:Teleport (0, -13265.500000, 155.837997, 35.63001)
end
RegisterGameObjectEvent (1231231, 2, 'Teleport_onUse500')
__________
PS :
function Teleport_onUse500 <- is 500 for first time .
I hope some1 of you is gonna help me.. Ill +rep ofc :P
Tnx guys , im waiting your opinion .
Regards
Dongel
:wave: