What's the problem with this fragment?

Post » Mon Nov 24, 2014 4:48 pm

Hi all.

Have a quest that has worked fine before and I wanted to add a SFX when a notice was displayed. Added the property "Sound" and added the extra fragment line but now it errors. Here is the fragment...

setobjectivecompleted(70)NextQst.SetStage(10)Utility.Wait(5.0)mySound.Play(self)debug.notification("The Barrack's Noticeboard has been updated.")Setstage(80)

The error is...

psc(69,8): type mismatch on parameter 1 (did you forget a cast?)

If I remove the line "mySound.Play(self) then all is good.

Help please.

User avatar
ruCkii
 
Posts: 3360
Joined: Mon Mar 26, 2007 9:08 pm

Return to V - Skyrim