Hello, ive been trying to make some .lua ports but they wont load.. Here are the scripts and the error: Please help
and
![]()
Hello, ive been trying to make some .lua ports but they wont load.. Here are the scripts and the error: Please help
and
![]()
Last edited by Kiev; 01-12-2008 at 10:10 AM. Reason: Bump?
Take the spaces out of the function names. Should look similiar to this:
Hope it helps.Code:function TeleportEmerald (pUnit, Event, pMisc) pMisc:Teleport (169, 2732.93, -3319.63, 102.284, 0.8312) end RegisterGameObjectEvent (4000000, 2, "TeleportEmerald")
kk ty, just gonna try that now
Try This,
Code:function Portal_To_Stormwind (pUnit, Event, pMisc) pMisc:Teleport (0, -8193.23, 554.63, 93.79) end function Portal_To_Ironforge (pUnit, Event, pMisc) pMisc:Teleport (0, -4976.66, -885.92, 501.64) end function Portal_To_Darnassus (pUnit, Event, pMisc) pMisc:Teleport (1, 9946.37, 2613.14, 1316.23) end function Portal_To_Exodar (pUnit, Event, pMisc) pMisc:Teleport (530, -3998.91, -11869.04, -0.42) end RegisterGameObjectEvent (400023, 2, "Portal_To_Stormwind") RegisterGameObjectEvent (400024, 2, "Portal_To_Ironforge") RegisterGameObjectEvent (400025, 2, "Portal_To_Darnassus") RegisterGameObjectEvent (5000001, 2, "Portal_To_Exodar")