Jump to content

Recommended Posts

I am having some problems with a script that I am trying to edit.

 

This is the Message that I received:

Too few variables in MessageBox parameters; expected 9, found 0

 

All that I am trying to do is add a button to a MSG that brings up instructions

 

Script After Edit:

 

elseif ( MenuItem == 5 )

ShowMessage aaBMHECCOchemStatsMSG

elseif ( MenuItem == 6 )

 

Endif

Endif

Endif

End

 

Script Before Edit:

 

elseif MenuItem == 5

 

Endif

Endif

Endif

End

 

Also: int MenuItem

 

The 5 was the Exit button and now the 5 is the Instructions button and the 6 is the Exit button.

No other modifications were made and the script worked flawlessly prior to edit,

any help would be greatly appreciated.

 

TimeShadow

 

Link to comment
Share on other sites

Can you elaborate on specifiers?

aaBMHECCOchemStatsMSG is just the ID I used for the Message in the GECK, it has no assigned Menu Buttons, it just contains the text message.

I have done this in the past w/ no issues. Just don't understand the message "too few variables in MessageBox parameters;".

 

Let me ask you something, is the body of the text have to adhere to some sort of guidelines? Are there curtain characters that I can't use?

 

TS

Edited by TimeShadow
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...