Baadu Apprent Posted February 27, 2005 Share Posted February 27, 2005 Ah Can anyone help out there , I don't know enough to start scripting yet ,but I need a quick script that will make a female character PC dance like one the twilek dancer for a mod i'm designing .Basically open up an option if she talks to someone "Do you want me to dance?"or something The character PC body and head are that of a twilek so I thought it would fit . Link to comment Share on other sites More sharing options...
Xcom Posted February 27, 2005 Share Posted February 27, 2005 you can try something like this: void main() { object oPlayer = GetFirstPC(); float fDuration = 10.0f; // time to dance in secs NoClicksFor(fDuration); AssignCommand(oPlayer, ClearAllActions()); AssignCommand(oPlayer, ActionPlayAnimation(ANIMATION_LOOPING_DANCE1, 1.0, fDuration)); } Link to comment Share on other sites More sharing options...
Darth333 Posted February 27, 2005 Share Posted February 27, 2005 You find everything here: http://www.lucasforums.com/showthread.php?s=&threadid=140276 edit: or what xcom says Link to comment Share on other sites More sharing options...
Baadu Apprent Posted February 27, 2005 Author Share Posted February 27, 2005 Thanks I've complied the Script but how do I assign it to a dialogue command to get her to do it ?or something like that ? Link to comment Share on other sites More sharing options...
tk102 Posted February 27, 2005 Share Posted February 27, 2005 For dialogs, take a look at this: http://www.lucasforums.com/showthread.php?s=&threadid=143356 Note the "Script" and "Active" fields. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.