Need help removing a messagebox

Post » Fri Mar 03, 2017 6:26 pm

Im using http://mw.modhistory.com/download-68-10001 which allows you to brew poisons. There's a specifix messagebox I cant remove -

if ( onActivate )
if ( pAlcSkill < 30 )
messagebox "This object requires 30 Alchemy skill to use."
set pickMeUp to 1
return
else
set opened to 1
Activate
messagebox "Silence = Calm, Lock = Soultrap" ; just a reminder for player
endif
endif

if ( opened != -1 )

=====

The one in bold.

If I try in the CS the mod will not save properly, and if I try in MWedit, the mod wont work properly when I load it up. I know you shouldnt edit scripts too much but Ive removed dozens of other mods messageboxes and had no problems at all.

User avatar
Jade
 
Posts: 3520
Joined: Mon Jul 10, 2006 6:42 am

Post » Fri Mar 03, 2017 5:37 pm

If there's a reason why it can't be removed, perhaps make it impossible to execute by wrapping it in "if 0 ... endif"? Then any reference to the message is still there, but you can't ever see it.

User avatar
Kayla Keizer
 
Posts: 3357
Joined: Tue Dec 12, 2006 4:31 pm

Post » Fri Mar 03, 2017 2:04 pm

Make sure the "customfunctions.dat" file found in your MWEdit folder is up to date. You can get the latest version on the MWSE download https://github.com/Merzasphor/MWSE/releases/.

User avatar
Jerry Jr. Ortiz
 
Posts: 3457
Joined: Fri Nov 23, 2007 12:39 pm


Return to III - Morrowind