[behavior] Animation List

Post your completed addons to share with the community

Post » Mon Jan 12, 2015 4:25 am

Animation List
expressions:
  • animationCount - return the number of animations the object has.
  • animationName(int) - return the animation name at the given index.
  • animationIndex(string) - return the index of the animation with the name.
I was a bit surprised that this sort of thing wasn't already implemented into the sprite plugin, but since it is pretty simple I created my own behavior to do it. I felt like sharing it in-case anyone needs this feature.
You do not have the required permissions to view the files attached to this post.
B
41
S
19
G
65
Posts: 1,085
Reputation: 37,842

Post » Mon Jan 12, 2015 6:33 am

Updated the behavior!
realized that it needed another expression that returns the index for the animation name you pass to it.
B
41
S
19
G
65
Posts: 1,085
Reputation: 37,842

Post » Tue Jan 13, 2015 8:14 pm

@Prominent Thank you 😉
B
11
S
1
Posts: 84
Reputation: 1,462

Post » Tue Jan 13, 2015 8:15 pm

@Prominent Thank you 😉
B
11
S
1
Posts: 84
Reputation: 1,462


Post » Fri Jun 23, 2017 6:12 am

Muchas gracias!
B
11
S
3
Posts: 7
Reputation: 810


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 5 guests