Thread Tools Display Modes
10-25-09, 10:17 PM   #1
Recompense
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 15
PlayerModel question

I have a PlayerModel that I'd like to be able to have perform emotes on command, such as dancing or cheering.

Searching around suggests that I should be using PlayerModel:SetSequenceTime(sequence, time index) for this, but no matter what I do, I can't get the sequence to play properly.

I've tried several different ways of incrementing the time index, including setting it as part of an OnUpdate script. I've also tried PlayerModel:AdvanceTime() in OnUpdate.

Depending on what I set for the sequence argument, sometimes the model performs an animation. Sometimes it just sort of goes through the first part and then stutters back to the original idle motion. Also, the animations don't seem to correspond to the seqences in the .m2 files, at least as viewed using WoW Model Viewer.

Anyone have a clue as to how I can create arbitrary emote animations?
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » PlayerModel question


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