WoW:API Model SetSequence: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API Model SetSequence to API Model SetSequence without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<center>'''SetSequence''' ''-Documentation by DerGhulbus-''</center>
{{widgetmethod}}


Sets the animation-sequence to be played.
Sets the animation-sequence to be played.
Line 20: Line 20:
: The selected sequence seems to play only once but for some sequences it is repeated infinitely. Don't know what to think about this =/
: 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.
: You'll probably want to use some third party application to preview the animation sequences available for a certain mesh.
----
{{Template:WoW API}}

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.