Game Development Community

Adding Animation

by Krystian Lahage · in Artist Corner · 07/16/2008 (7:18 pm) · 1 replies

How would I add animation to my script, for example making it so when i reload it uses a code strip that activates the reload animation, what line(s) of code could carry this out? Thanks!

About the author

I am in charge of Pickled Studios, a company that me and a few friends founded a few years ago. We are currently working on a multiplayer FPS game.


#1
07/20/2008 (1:17 am)
I am so new but I 'll try to help. I suppose you add sequence in the player.cs already.
you 'd try %player.setActionThread(%youranimationname) to play animation