Is this done model-wise or script wise because I have never been able to make this work.
I know that in gun-based scripts which play the animation shiftaway seem to work in first person but scripts using the sword's armattack do not.
Basically:
function weaponImage::onPreFire(%this, %obj, %slot)
{
%obj.playthread(2, armattack);
}
function weaponImage::onStopFire(%this, %obj, %slot)
{
%obj.playthread(2, root);
}
Does not work on custom weapons, while
function weaponImage::onFire(%this,%obj,%slot)
{
%obj.playThread(2, shiftAway);
}
does work on custom weapons.
Why is this?
[edit]
And yes I searched the forums already and couldn't find any clear answer.