Author Topic: Cant get AmbientAnimations to work  (Read 310 times)

Legacy_Morgan Winter

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
Cant get AmbientAnimations to work
« on: July 02, 2011, 07:14:27 pm »


                I have followed several tutorials on making more active NPCs but i cant get AmbientAnimation to function. Could someone post how to add this to NPCs?

Any help is appreciated
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Cant get AmbientAnimations to work
« Reply #1 on: July 04, 2011, 01:37:20 am »


               open the OnSpawn script for the creature.  

Make sure that the line that says
SetSpawnInCondition (NW_FLAG_IMMOBILE_AMBIENT_ANIMATIONS); or
SetSpawnInCondition(NW_FLAG_AMBIENT_ANIMATIONS);
is uncommented.  meaning that it does not have the // in front of it.
recompile the script.  IF you do not want every creature in the game to have the animations you may want to save the file under a differant name before compile it.  Just make sure your creature has the new script for there onspawn event.  

as long as you are using the default scripts for you NPC's that is all it should take.
               
               

               
            

Legacy_La Rose Noire

  • Newbie
  • *
  • Posts: 49
  • Karma: +0/-0
Cant get AmbientAnimations to work
« Reply #2 on: July 04, 2011, 05:06:19 pm »


               And remember the NPC must see friends to interact with for some animations lite SALUTE or BOW or even all the TALK animations.