New Battlepet + Emotions
Hi everyone!
When I Learned the BattlePet, There was no indication of this in LUA, right or wrong? Im almost embarrased to ask this but in LUA how do You get the Emotion- list You have in drop down list when in "Blizard"-Mode? Answers would be most appreciated Good Luck to You all playing Pandaria |
I don't understand what you're saying unfortunately.
What do you mean there was no indication in Lua when you learned Pet Battles? Do you want something in the pet battle system to print emotes to your chat? |
There is the following events fired when you start/finish a petbattle
Code:
PET_BATTLE_OPENING_START For emotes you can use the DoEmote(TOKEN) function. TOKEN is a string telling the API what emote to perform. Code:
DoEmote("CHICKEN"); --this will do the chicken emote They are sequential up until 170, then there is suddenly a gap. Either use a hardcoded list or a loop of some sort if you want to enumerate them all. Code:
local maxID = 500; --A number well beyond the number of emotes available ingame at the moment |
All times are GMT -6. The time now is 02:42 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI