#How do I put animTrack in correct queue spot

1 messages · Page 1 of 1 (latest)

hearty shadow
#

For _, v in ipairs(queue) do
If not v or v == Animtrack then
PlayAnim(AnimTrack)
Return
End

If AnimPrioritys[v] > AnimPrioritys[animeTrack] then

hearty shadow
#

Is it at the end or in front of the first v it has higher priority than?