Silveredge9 Posted October 14, 2006 Share Posted October 14, 2006 How would I do this? I can imagine it's something along the lines of "actionplayanimation" and such, but I'm not 100% sure. I just need a script that will make an NPC perform the flourish animation with the weapons the npc has equipped. Any help would be greatly appreciated on this. Link to comment Share on other sites More sharing options...
stoffe Posted October 14, 2006 Share Posted October 14, 2006 How would I do this? I can imagine it's something along the lines of "actionplayanimation" and such, but I'm not 100% sure. I just need a script that will make an NPC perform the flourish animation with the weapons the npc has equipped. That depends on if it's for KotOR1 or KotOR2:TSL? If it's the latter you can use the script function CreatureFlourishWeapon() for this: void main() { CreatureFlourishWeapon(GetObjectByTag("TagOfNPCtoFlourish")); } That function doesn't exist in KotOR1 though, so there you'll have to figure out the animation number for the type of flourish to perform and use a combination of SetLightsaberPowered() (if it's a lightsaber) and PlayAnimation() to do it. Link to comment Share on other sites More sharing options...
Silveredge9 Posted October 15, 2006 Author Share Posted October 15, 2006 Thanks for the help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.