Jump to content

Home

Make a female Twi'lek dance


bneezy

Recommended Posts

I found two animations for dancing but haven't tried them. Here is the script:

 

extract from nwswcript:

ActionPlayAnimation(int nAnimation, float fSpeed=1.0, float fDurationSeconds=0.0);

if you put -1.0 for the duration as in the examples below, you'll get a perpetual animation.

 

Examples on how to use it:

void main() {
object oNPC=GetObjectByTag("my_npc_tag");
AssignCommand(oNPC,ActionPlayAnimation(17,1.0,-1.0));
}

or 
void main() {
object oNPC=GetObjectByTag("my_npc_tag");
AssignCommand(oNPC,ActionPlayAnimation(16,1.0,-1.0));
}

 

 

or you can also attach this to the OnSpawn field of your .utc (no need to define the object here):

void main() {
PlayAnimation(17,1.0,-1.0);
}

or

void main() {
PlayAnimation(16,1.0,-1.0);
}

Link to comment
Share on other sites

Originally posted by Darth333

I found two animations for dancing but haven't tried them.

 

OnSpawn field of your .utc (no need to define the object here):

void main() {
PlayAnimation(17,1.0,-1.0);
}

or

void main() {
PlayAnimation(16,1.0,-1.0);
}

I found my old mg.mod from May 28, 2004 and decompiled the user defined script for Kitty Kitty. It looks like I applied both animations... :confused: ... I dunno ... made her dance though... :)

Link to comment
Share on other sites

Originally posted by tk102

I found my old mg.mod from May 28, 2004 and decompiled the user defined script for Kitty Kitty. It looks like I applied both animations... :confused: ... I dunno ... made her dance though... :)

That must be it. I took a script I had on my HD with a meditation animation but I think initially it was the "bored" animation in the mg.mod ;)

Link to comment
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...