Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: meribold
Forum: Lua/XML Help 08-13-15, 09:21 AM
Replies: 10
Views: 4,366
Posted By meribold
This. Think about it, when the client gets to...

This. Think about it, when the client gets to loading your event handler, ADDON_LOADED has already been posted for Skada, while your AddOn had no chance to react to it yet.

The question is why this...
Forum: Lua/XML Help 07-12-15, 09:52 AM
Replies: 5
Views: 2,640
Posted By meribold
That returns a string indicating what "hair"...

That returns a string indicating what "hair" customization means for your character's race. Either "NORMAL" or "HORNS". The example shows how you get a localized description, e.g., "Hair Style" or...
Forum: Lua/XML Help 07-11-15, 07:51 PM
Replies: 5
Views: 2,640
Posted By meribold
/run print(GetBarberShopStyleInfo(2)) returns nil...

/run print(GetBarberShopStyleInfo(2)) returns
nil nil 111734 true
[Edit] 111734 is the cost of changing the hair color; it doesn't matter if the used hair color is the same as the selected one. The...
Forum: Lua/XML Help 07-11-15, 09:18 AM
Replies: 5
Views: 2,640
Posted By meribold
I will test that again when I get home, but iirc...

I will test that again when I get home, but iirc the first return value of GetBarberShopStyleInfo(2) was nil when I tried it. So I can only find out if the current hair color matches the one...
Forum: Lua/XML Help 07-10-15, 09:03 PM
Replies: 5
Views: 2,640
Posted By meribold
Getting the player character's hair color

Is it possible to query which hair color the player's character is currently using? I haven't even found anything that returns this information while interacting with a barber shop.
Showing results 1 to 5 of 5