Author Topic: Both Arms Coming Up?  (Read 1448 times)

How do I make it so When I take a weapon out the player is using the "Hug" Animation instead of the default one hand being help up???

You know like when you have dual weapons and he has both arms up?
« Last Edit: November 11, 2007, 08:59:59 PM by Deathloc »


Just get that huge ass machine gun it uses the hug animation.

Just get that huge ass machine gun it uses the hug animation.
Minigun?

When I add in Larmready = true; It still doesn't work -_-

servercmdhug(%client);

I forget where to put it, though.
Look at the minigun code.

Put it into the WeaponImage::OnMount (or it might be the Item, I forget.)

Then add a line (I forget ATM) to the ::OnUnMount function.

You will have to play with this a bit to get it to work:

Code: [Select]
function YourWeaponImage::onReady(%this, %obj, %slot)
{
%obj.playthread(2,"armreadyboth");
}

Attached is a copy of my 'fireball beta' script that never got past development stage. It's got noticeable flaws, but it should help you out a bit. It raises both hands on a 'charge'. I'm not sure how you can make both of them have an attack animation, though.
Also, can someone link to the thread with all the playthreads listed? I can't find it.