Hey guys,
I am trying to make a portal into the Scarlet Monastary Unused instance.
Here is my LUA script which I put in my scripts folder:
Code:
function Teleport_onUse (pUnit, Event, pMisc)
pMisc:Teleport (44, 77, -1, 18.677132)
end
RegisterGameObjectEvent (90020, 2, 'Teleport_onUse')
And here is my sql file which I executed in my world DB.
Code:
INSERT INTO gameobject_names (entry, Type, DisplayID, Name, spellfocus) VALUES (90020, 22, 1327, 'Portal to Halls of The Fallen Heros', 0)
Now, the portal is correctly spawned, and when I click on it it successfully teleports me to the Scarlet Monestary Unused instance. But, when another player clicks the portal, it teleports him into my instance, and we are un-grouped. What I am trying to do is to have the portal seperate groups, so groups are not in the same instance as each other. Thanks for any help in advance