Pikmin Posted August 11, 2008 Share Posted August 11, 2008 This will make Mical play the animation right? AssignCommand(GetObjectByTag("Disciple", 0), ActionPlayAnimation(nAnimation "ANIMATION_1121", float fSpeed=1.0, float fDurationSeconds=0.0)); Link to comment Share on other sites More sharing options...
DarthStoney Posted August 11, 2008 Share Posted August 11, 2008 This will make Mical play the animation right? AssignCommand(GetObjectByTag("Disciple", 0), ActionPlayAnimation(nAnimation "ANIMATION_1121", float fSpeed=1.0, float fDurationSeconds=0.0)); Here is a little easier script just substitutue the animation you want in place of animation and use caps. void main() { AssignCommand(GetObjectByTag("Disciple", 0), ActionPlayAnimation(ANIMATION_LOOPING_[color="Red"]animation[/color], 1.0, 8.0)); } Link to comment Share on other sites More sharing options...
Pikmin Posted August 11, 2008 Author Share Posted August 11, 2008 void main() { AssignCommand(GetObjectByTag("Disciple", 0), ActionPlayAnimation(nAnimation ANIMATION_LOOPING_SIT_CHAIR_COMP1, 1.0, 8.0)); } Why won't it compile? EDIT: Got it! Eheh. Stoney as I type this you are replying to this thread, but you're to late. Link to comment Share on other sites More sharing options...
DarthStoney Posted August 11, 2008 Share Posted August 11, 2008 Try this ,the animations are listed in the nwscript.nss not sure if there is one for sit and use may have to do sit first then use comp. void main() { AssignCommand(GetObjectByTag("Disciple", 0), ActionPlayAnimation(ANIMATION_LOOPING_USE_COMPUTER, 1.0, 8.0)); } Link to comment Share on other sites More sharing options...
Pikmin Posted August 11, 2008 Author Share Posted August 11, 2008 AssignCommand(GetObjectByTag("Disciple", 0), ActionPlayAnimation(1127, 1.0, 8.0)); I got it by looking at how Ulic fired the animation for the twinsun massage, I had to aply what you gave me though for it to work. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.