Playing a Sound when a Creature is Damaged
DJ_WoW
Member Posts: 51
Gooday all,
Like the title says.
I need the proper syntax to play a sound that the damager will here.
OnDamaged Script
PlaySound("resref");
AssignCommand(oDamager, PlaySound("resref"));
AssignCommand(OBJECT_SELF, PlaySound("resref"));
Is not working?
I have also tried PlaySoundObject
Any guidance would be appreciated.
DJ-WoW
Like the title says.
I need the proper syntax to play a sound that the damager will here.
OnDamaged Script
PlaySound("resref");
AssignCommand(oDamager, PlaySound("resref"));
AssignCommand(OBJECT_SELF, PlaySound("resref"));
Is not working?
I have also tried PlaySoundObject
Any guidance would be appreciated.
DJ-WoW
0
Comments
and
Notice that while PlaySound() requires a string as its parameter, SoundObjectPlay() requires an object.
TR
Wanted to thank you all for your insights. I had the PlaySoundObject working, but I had not unchecked the Active Box. Does exactly what I wanted it to do now.
Thanks again for your time,
DJ-WoW