Aller au contenu

Photo

Cant get AmbientAnimations to work


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Morgan Winter

Morgan Winter
  • Members
  • 34 messages
 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

#2
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
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.

#3
La Rose Noire

La Rose Noire
  • Members
  • 25 messages
And remember the NPC must see friends to interact with for some animations lite SALUTE or BOW or even all the TALK animations.