Author Topic: ::Client::PlayAnimation:: As: ShakeHead etc ::: Default  (Read 692 times)

Hey is there possible to make an Animation whit Player::PlayAnimation(%client, "13", "1");
That makes weapon Roll?

I think its default.

Or something like Shake Head.''


Please tell me :D
« Last Edit: August 09, 2011, 03:31:37 PM by xcruso »

First Post!  :cookieMonster:

On Topic: I don't really think its possible. Have you tried it?

First Post!  :cookieMonster:

On Topic: I don't really think its possible. Have you tried it?
Don't post in coding help ever again.

First Post!  :cookieMonster:

On Topic: I don't really think its possible. Have you tried it?

Havent tryed it.

idk how to set it up quite yet.

Edit:   I though it was possible because   shake head animation is when you Undo a brick and

weapon Roll sometime when you fire and change wep at same time.
« Last Edit: August 09, 2011, 01:59:08 PM by xcruso »

You would use %obj.playThead(#,name);

"root" is the default thread, and # is the slot number
« Last Edit: August 09, 2011, 03:37:53 PM by dUMBELLS »

You would use %obj.playThead(#,name);

"root" is the default thread, and # is the slot number

Do anyone know how to set it up in a Script to make it Work when i Mousefire?

I think hes trying to make it client sided which is not possible, hes trying to make it whenever he clicks in any server his hand does the "roll" animation.

I think hes trying to make it client sided which is not possible, hes trying to make it whenever he clicks in any server his hand does the "roll" animation.

Yes, but not when i Click, When I do a blah..(); in console or something

Yes, but not when i Click, When I do a blah..(); in console or something
not possible either way.

not possible either way.

Ok, ty that's was i was trying to find out.

But what about When i Undo a brick in other servers I do the Shake head animation isnt it possible to make it launch any other ways?

Yes, but not when i Click, When I do a blah..(); in console or something

You can't really do it client-sided on other people's servers, except if the server has an add-on that lets you.

You'd need to package Armor::onTrigger if you wanted a message to appear when you clicked, and it would only work on your server.

this by itself would work (though it also shows the message when you jump):
Code: [Select]
package PACKAGENAME {
function Armor::onTrigger(%num,%player,%boolA,%boolB)
{
%player.clicked=(%player.clicked==true ? false : true); // using this so that two messages don't show up
Parent::onTrigger(%num,%player,%boolA,%boolB);
if(%player.clicked==true)
{
%client=%player.client;
%client.schedule(2000,"chatMessage","You clicked two seconds ago GJ.");
}
} };  activatePackage("PACKAGENAME");
« Last Edit: August 09, 2011, 04:26:16 PM by dUMBELLS »

But what about When i Undo a brick in other servers I do the Shake head animation isnt it possible to make it launch any other ways?
if you're on another person's server you can't change the animation which plays when you undo a brick. You might be able to on your server if you package the right functions though.

if you're on another person's server you can't change the animation which plays when you undo a brick. You might be able to on your server if you package the right functions though.

k, ty