function gunImage::onFire(%this,%obj,%slot){ if(%obj.getDamagePercent() < 1.0) %obj.playThread(2, shiftAway); Parent::onFire(%this,%obj,%slot); }
%obj.playThread(2, shiftAway);
Specifically, this line willCode: [Select]%obj.playThread(2, shiftAway);That line makes the player play the animation. You can make him play sit, shiftup, jump, and more.
hao 2?