ShowMessage issues

Post » Mon Sep 05, 2011 6:46 pm

When I try to have a piece of dialogue have end script of:

ShowMessage P3Train

It gives me the error message:
"Too few variables in MessageBox parameters; expected 1, found 0."

This is odd. When I put "1" in the end of the command, the script whines about invalid variable.
Never had this issue before, I just put the same command with different message in a different dialogue.
User avatar
Undisclosed Desires
 
Posts: 3388
Joined: Fri Mar 02, 2007 4:10 pm

Post » Tue Sep 06, 2011 12:20 am

Is there a percent symbol in the message? If so, you need to have it twice, otherwise it thinks it's a variable:

Example - "you have 50%% of what you need"
User avatar
ezra
 
Posts: 3510
Joined: Sun Aug 12, 2007 6:40 pm

Post » Mon Sep 05, 2011 6:52 pm

:banghead:
That was it!


Thanks a million, I had no idea of such a thing.

:bowdown:
User avatar
Vahpie
 
Posts: 3447
Joined: Sat Aug 26, 2006 5:07 pm


Return to Fallout 3