WoW:API Model SetSequence: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{widgetmethod}})
m (Move page script moved page API Model SetSequence to API Model SetSequence without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}}
<center>'''SetSequence''' ''-Documentation by DerGhulbus-''</center>


Sets the animation-sequence to be played.
Sets the animation-sequence to be played.

Latest revision as of 04:46, 15 August 2023

Widget API ← Model < SetSequence

Sets the animation-sequence to be played.

myModel:SetSequence(0);

Arguments
id: number Index of the animation sequence inside the mesh file

Returns
nil

Description
The selected sequence seems to play only once but for some sequences it is repeated infinitely. Don't know what to think about this =/
You'll probably want to use some third party application to preview the animation sequences available for a certain mesh.