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
Cant get AmbientAnimations to work
Débuté par
Morgan Winter
, juil. 02 2011 06:14
#1
Posté 02 juillet 2011 - 06:14
#2
Posté 04 juillet 2011 - 12:37
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.
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
Posté 04 juillet 2011 - 04:06
And remember the NPC must see friends to interact with for some animations lite SALUTE or BOW or even all the TALK animations.





Retour en haut







