Thread Tools Display Modes
12/15/14, 03:28 AM   #1
BornDownUnder
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 59
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?
  Reply With Quote
12/15/14, 03:34 AM   #2
Minceraft
 
Minceraft's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 51
Originally Posted by BornDownUnder View Post
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.

Last edited by Minceraft : 12/15/14 at 03:43 AM.
  Reply With Quote
12/15/14, 06:00 AM   #3
BornDownUnder
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 59
Originally Posted by Minceraft View Post
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...
  Reply With Quote
12/17/14, 02:06 AM   #4
Minceraft
 
Minceraft's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 51
Originally Posted by BornDownUnder View Post
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!!
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » JumpToGroupMember() failing everytime...


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off