Sound Detection Problem

Post » Sat Jan 18, 2014 12:42 am

I'm making a needs mod that will add certain effects to the player whenever the "swallow" sound is played. Problem is, I can't get it to register in the game. I tried the command nested in larger scripts with no success, and even wrote a testing script entirely to detect that sound:

begin AAA_SwallowDetection
if ( player->GetSoundPlaying, "Swallow" == 1 )
MessageBox, "You swallowed."
endif
end AAA_SwallowDetection
still no luck. I've been learning to mod out of Morrowind Scripting for Dummies, which mentions specifically that the sound ID "Drink" doesn't work, but says nothing on swallow. Has anyone else ever gotten this function to work, or is this not possible with the CS? Thanks
User avatar
Princess Johnson
 
Posts: 3435
Joined: Wed Feb 07, 2007 5:44 pm

Return to III - Morrowind