I've been experimenting and trying to find out how to call a weapon animation by not using the state system.
For example:
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...