Jump to content

Home

[K1] How to make someone dance ?


sekan

Recommended Posts

The following script should do the trick for dancing.

 

// This will make "npc_tag" dance
void main() {
   object oNPC = GetObjectByTag("npc_tag");
   AssignCommand(oNPC, PlayAnimation(ANIMATION_LOOPING_DANCE, 1.0, 0.5));     
}

 

I used nwscript.nss to form this, though I have not tested it in-game. So, don't blame me if it doesn't work. :xp:

 

EDIT: Just tried to compile this; But, it couldn't compile. :( Sorry.

EDIT II: Fixed the above script...with a little tweaking. star-wars-smiley-014.gif

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...