Info Updating and me....
1 Attachment(s)
Hey guys! I was creating an addon to let me know when my friends were online and to tell certain info like current location and things like that.
I seem to be having a problem getting the location to update when I switch Zones. I am currently using the <OnUpdate> function and ourLoc = GetUnitZone("player") and the associated :SetText(string.format(ourLoc)). Is there a better way that my inexperience is keeping me from seeing? And I could use this info for any other stats I would also like to include, like the current time!! I've tried all the ways I can think of, like putting commands in different spots....I'm STUMPED! Also, is there a list of SCENE_MANAGER stuff out there anywhere?? Thanks for the help, gang!! |
http://wiki.esoui.com/Events#Map_and_Zoning
EVENT_ZONE_CHANGED (integer eventCode, string zoneName, string subZoneName, bool newSubzone) |
Are your friends in the same guild as you are? If so, you can use:
EVENT_GUILD_MEMBER_CHARACTER_ZONE_CHANGED (eventCode, guildId, displayName, characterName, zone) AFAIK there is no documentation about SCENE_MANAGER. But maybe you will be interested in: http://www.esoui.com/portal.php?&id=27&pageid=12 There is lots of different functions for time, but you probably want GetTimeString(). API documentation is attached to this post: http://www.esoui.com/forums/showthread.php?p=11157 |
How to open a scene....
I was really trying to find out how to use a command to open the guild roster when I click on a texture button on my addon but unsuccessful so far.....
|
Quote:
Lua Code:
|
Quote:
Once again, Garkin, you rock!!! And Thanks everyone for the help!!! |
Hmmmm...
I noticed that there werent texture files for things like the rune images and textures for things like columbine and mountainflower, etc...
How could I call that info back? Do I have to get it from the ItemLink or something like that? Think I remember seeing something like that. In the meanwhile, I'm gonna ransack the globals list and the other lists again...lol!! And thanks again! |
If you want to get an icon you see, use Zgoo addon.
For items in inventory and itemlinks there are functions GetItemInfo(integer bagId, integer slotIndex) Returns: textureName icon, integer stack, integer sellPrice, bool meetsUsageRequirement, bool locked, integer equipType, integer itemStyle, integer quality GetItemLinkInfo(string itemLink) Returns: string icon, integer sellPrice, bool meetsUsageRequirement, integer equipType, integer itemStyle |
Edit box
Can anyone give me an example of how an Edit Box should be used? I'm making an addon that would do a function for a value entered into the box...
|
All times are GMT -6. The time now is 03:56 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI