MySound.Play in a fragment not compiling

Post » Sat Feb 23, 2013 11:55 pm

I know this is probably something simple I'm missing, but I have a dialog fragment where I need to apply an ISM and play a sound fx, but can't figure out how to get the soundFX to work. The wiki is pretty vague as how to do this. But in my fragment I've tried several things, different properties etc, but can't get it to compile. Can someone explain this:

int instanceID = mySFX.play(self)

What is instance ID? Do I need to create an integer property in my fragment and fill it with what? My sound property is filled with the correct sound btw.
User avatar
Claire Mclaughlin
 
Posts: 3361
Joined: Mon Jul 31, 2006 6:55 am

Return to V - Skyrim