ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   JumpToGroupMember() failing everytime... (https://www.esoui.com/forums/showthread.php?t=4139)

BornDownUnder 12/15/14 03:28 AM

JumpToGroupMember() failing everytime...
 
Here is the code in particular:

local name = GetUnitName(owner)
JumpToGroupMember()
d("Traveling to "..name.."...")

The chat output from d is perfectly fine, name grabs the character name, just always 'character not found' and therefore fast travel to player doesn't happen.

Any ideas?

Minceraft 12/15/14 03:34 AM

Quote:

Originally Posted by BornDownUnder (Post 17854)
Here is the code in particular:

local name = GetUnitName(owner)
JumpToGroupMember()
d("Traveling to "..name.."...")

The chat output from d is perfectly fine, name grabs the character name, just always 'character not found' and therefore fast travel to player doesn't happen.

Any ideas?


And you could try this:

Lua Code:
  1. local name = GetUnitName(owner)
  2.     JumpToGroupMember(name)
  3.     d("Traveling to "..name.."...")

Gives the JumpToGroupMember() function a target to jump you to.

BornDownUnder 12/15/14 06:00 AM

Quote:

Originally Posted by Minceraft (Post 17855)
And you could try this:

Lua Code:
  1. local name = GetUnitName(owner)
  2.     JumpToGroupMember(name)
  3.     d("Traveling to "..name.."...")

Gives the JumpToGroupMember() function a target to jump you to.

Works like a charm, many thanks and I guess too much thinking can make the most simple and obvious not at all apparent to ones eyes...

Minceraft 12/17/14 02:06 AM

Quote:

Originally Posted by BornDownUnder (Post 17856)
Works like a charm, many thanks and I guess too much thinking can make the most simple and obvious not at all apparent to ones eyes...

Too true, too true!!


All times are GMT -6. The time now is 07:29 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI