Author Topic: Talking  (Read 1522 times)

Could someone make a key command that makes your character make the talking motion like he does when you say something in text? This would be very useful in making movies. Thanks.

haha. i always thought that that action looked like he was finishing his business at a urinal. XD haha

That's actually a good idea.

Ace

I'll see if I can cook anything up.  :cookieMonster:

I just need to find out exactly HOW this shaking motion occurs, or where it's told to do that if you type something...
« Last Edit: January 29, 2008, 11:49:40 PM by Ace »

I'll see if I can cook anything up.  :cookieMonster:

I just need to find out exactly HOW this shaking motion occurs, or where it's told to do that if you type something...
Space Guy or Trader, or some person that knows something about coding might know.

Ace

I'll ask them, but this would be my first actual attempt to script anything.

So, if I don't get it to work, I'll just leave it to the more experienced people.

Here's a very very basic and messy script I whipped up out of boredom for you, type /talk to bounce around in the talking animation for about 1 second.

Code: [Select]
function serverCmdtalk(%client)
{
%client.player.playThread(1,talk);
schedule(1200,0,talkStop,%client);
}

function talkStop(%client)
{
%client.player.playThread(1,root);
}

maybe a /talk (time in seconds) would be better?

(/talk 5 for example)

Here's a very very basic and messy script I whipped up out of boredom for you, type /talk to bounce around in the talking animation for about 1 second.

Code: [Select]
function serverCmdtalk(%client,%amount)
{
if(%amount>999){return;}
%client.player.playThread(1,talk);
schedule(%amount*1000,0,talkStop,%client);
}

function talkStop(%client)
{
%client.player.playThread(1,root);
}
updated for /talk amountofseconds.

/talk 999 is the max.

Code: [Select]
function serverCmdtalk(%client,%time)
{
   if(%time>60)
      return;
   %client.player.playThread(0,talk);
   %client.player.schedule(%time*1000,"stopThread",0);
}

That would actually work properly since it won't interfere with equipped tools and items.


Ace

Heh, you all beat me to it. Figures, scripting has never been my strong point.

Heh, you all beat me to it. Figures, scripting has never been my strong point.

Hey, be happy that you even know how to script!

I have no computer talent. :(