Schmelz Posted November 12, 2010 Share Posted November 12, 2010 As I really need the Name of a refVar to stand on a button of an messagebox, i tried with OBSE: MessageBoxEx "...", "%n", refVar Its allways performings the following if trying to compile(save): Unknown variable '%n' for parameter variable. And know my question is if i'm just too stupid, or can't you use %n in the buttontext.If its like that, i would be very pleased if someone knows an alternative way. Thanks for everyone trying to help! Link to comment Share on other sites More sharing options...
Hickory Posted November 13, 2010 Share Posted November 13, 2010 Try: ref refVar set refVar to xxxxxREF MessageBoxEX "... %n|Cancel" refVar Link to comment Share on other sites More sharing options...
Schmelz Posted November 14, 2010 Author Share Posted November 14, 2010 sure works, but does not put %n onto the button Link to comment Share on other sites More sharing options...
Hickory Posted November 14, 2010 Share Posted November 14, 2010 My apologies, it should have been all one line:MessageBoxEX "... %n|Cancel" refVar Link to comment Share on other sites More sharing options...
Schmelz Posted November 15, 2010 Author Share Posted November 15, 2010 (edited) if you write like that, everything between the two " is on the headline. The things between the next pair of " is the first button.Check this website for syntax: http://cs.elderscrolls.com/constwiki/index.php/MessageBoxEX You were quite near: MessageBoxEx "...|%n" refVar Edited November 21, 2010 by Schmelz Link to comment Share on other sites More sharing options...
Recommended Posts