ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   How to port to secondary other players house? (https://www.esoui.com/forums/showthread.php?t=7705)

Golnebo 04/06/18 08:33 AM

How to port to secondary other players house?
 
Hi there,

I am making an addon for our guild. It's coming along pretty nice. Now what I can't get to work is a slash command to port to a specific house of a specific guild member. For example the guildmaster has three houses. 1. Hundings Palatial Palace (primary) 2. Tel Galen House and 3. Ravenhurst.

I would like to have three slash commands:

/addonname guildhall (ports to house 1.)
/addonname jumpchallenge (ports to house 2.)
/addonname bar (ports to house 3.)

I've been playing around with the new JumpToSpecificHouse() but I can't really get it to work.

Is there a way to do something like the above?

Thanks in advance!

Golnebo

manavortex 04/13/18 04:57 AM

IIRC, it's
Lua Code:
  1. JumpToSpecificHouse("name", id)
where "name" can be a character name or the @name, and the ID can be gotten via GetCurrentHouseZoneId() once you're inside a home.

Golnebo 04/13/18 04:59 AM

Quote:

where "name" can be a character name or the @name, and the ID can be gotten via GetCurrentHouseZoneId() once you're inside a home.
Awesome! Thanks. I did not get the GetCurrentHouseZoneID() until now :) Will try this.


All times are GMT -6. The time now is 02:19 AM.

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