Author Topic: Calling an animation of an equiped item  (Read 561 times)

I've been experimenting and trying to find out how to call a weapon animation by not using the state system.
For example:
Code: [Select]
function Image::onFire(%this,%obj,%slot)
{
 %this.toolAnimation(fire);
 parent::onFire(%this,%obj,%slot);
}
That obviously being a useless way of using it, but it gets the idea across and explains it a bit better.

So my question is, how do I call weapon animations by not using the state system?

EDIT: I did a little more searching and found something ish-about this, would I use %this.playThread(AniName)? Causes syntax errors on %this, I'll try %obj, even though that prolly won't work...
« Last Edit: May 15, 2010, 06:53:26 PM by HellsHero »