Author Topic: BN ani  (Read 408 times)

Legacy_KubaZawii

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
BN ani
« on: November 23, 2010, 11:08:56 am »


               
void main() 
{  
ActionPlayAnimation(ANIMATION_LOOPING_I do not know the name of the animation)
}

English 
I mean the animations fight.To BN instead stood still perform animations fight.I dont know how well written the script but I can not check because I do not know the name animation. So please help, or ready to name animation script or fight "waving the sword" I apologize for poor English, >online transletora


Po polsku:
Chodzi mi o animacje walki.Chciał bym aby BN zamiast stał w miejscu wykonywał animacje walki.Nie wiem czy dobrze napisałem skrypt ale nie mogę go sprawdzic bo nie znam nazwy aniamacji . Więc proszę o pomoc albo gotowy skrytp albo nazwe aniamcji walki "machania mieczem"

 
               
               

               


                     Modifié par KubaZawii, 23 novembre 2010 - 11:09 .
                     
                  


            

Legacy_Baragg

  • Sr. Member
  • ****
  • Posts: 496
  • Karma: +0/-0
BN ani
« Reply #1 on: November 23, 2010, 12:42:35 pm »


               You want the animations for fighting?
               
               

               
            

Legacy_KubaZawii

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
BN ani
« Reply #2 on: November 23, 2010, 08:23:17 pm »


               Yes. And exactly to use her name in script
               
               

               
            

Legacy_Xenovant

  • Full Member
  • ***
  • Posts: 182
  • Karma: +0/-0
BN ani
« Reply #3 on: November 24, 2010, 01:14:13 am »


               The combat animations haven't names "ANIMATION_..." (constants). You have 2 ways to do your animation with a script:



- Use NWMax to add/change the desired animation as a custom animation ("ANIMATION_LOOPING_CUSTOM1" for example). The combat animation names in NWMax are: 1hslashl, 1hslashr, 2wslashl,2wslashr,...



-Discover the number of the animation and put it in the script

For example:



PlayAnimation(20,1.0,5.0);



PlayAnimation(ANIMATION_LOOPING_SPASM,1.0,5.0);



Those 2 commands will play the same animation



I supposse that the number will be between 43 and 99, or will be greater than 116

               
               

               
            

Legacy_KubaZawii

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
BN ani
« Reply #4 on: November 24, 2010, 06:37:57 am »


               Thank you for help.
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
BN ani
« Reply #5 on: November 24, 2010, 12:59:47 pm »


               IT would help if we knew what type of effect you where trying to achieve.
 
IF you want a NPC to stand in one place and attack the air, Spawn in an invisible placeable  mark it plot and have him Bash it.  
 
IF you want him moving around .attacking. Spawn in an invisible creature that will just  wander around mark it as plot and have him attack it.
 
Hope that helps.