Elbethien Posted January 1, 2017 Share Posted January 1, 2017 (edited) This problem is not easy to describe. Let's see. I have OBME and made three new magic effects. I also made three sound sets and want to add one to each magic effect. I want the sound set to play when weapon is fired, not on impact ( my weapons are rifles)But when I put the sound set into "cast sound" only one sound of the set is played per each NPC.Only putting the sound set into "area sound" plays the whole set with all sounds in it at random. I hope you understand my problem. Now I wonder if I can accomplish this with a script set to each weapon, that makes the sound play from the weapons not on impact.But I'm not too good with scripts, so I need help. I only could make a script that works for the player: scn 0aM16SoundShort controlvarBegin GameModeSet controlvar to 0 if ( player.getequipped aaM16 ) && ( player.isWeaponout == 1 ) && ( IsKeyPressed 1 == 1 ) && ( controlvar == 0 ) playSound aaam16Set controlvar to 1 endifEnd Edited January 1, 2017 by Elbethien Link to comment Share on other sites More sharing options...
Elbethien Posted January 2, 2017 Author Share Posted January 2, 2017 So, when I add this script:scn 0aAKSound3Begin ScriptEffectStartplaySound aaaAKsoundEndBegin ScriptEffectUpdateEndBegin ScriptEffectFinishEnd to the enchantment of the weapon, it works, but the sounds will always play at my position, not on the one who is shooting. What can I do? Link to comment Share on other sites More sharing options...
DrakeTheDragon Posted January 2, 2017 Share Posted January 2, 2017 How about PlaySound3D instead?Seems to me like it's simply the locational version of PlaySound. Link to comment Share on other sites More sharing options...
Elbethien Posted January 2, 2017 Author Share Posted January 2, 2017 I will try that. Thank you :) Link to comment Share on other sites More sharing options...
Elbethien Posted January 2, 2017 Author Share Posted January 2, 2017 Awww, it was so simple >.<Thank you again, it works now! Link to comment Share on other sites More sharing options...
DrakeTheDragon Posted January 2, 2017 Share Posted January 2, 2017 Happy New Year! :happy: Link to comment Share on other sites More sharing options...
Elbethien Posted January 2, 2017 Author Share Posted January 2, 2017 Thanks, Happy New Year to you also! Link to comment Share on other sites More sharing options...
Recommended Posts