Leemonski Posted April 19, 2010 Share Posted April 19, 2010 I'm using a vairable in a mod that increases by 1 to infinity each time a certain action is performed. But I need a way for the player to keep a track of this. Could a MessageBox reference the variable so it always tells the correct amount? I'd rather not make my mod OBSE dependent if possible. If I can't do it with a MessageBox, is there any other way I could achieve something similar? Link to comment Share on other sites More sharing options...
Pronam Posted April 19, 2010 Share Posted April 19, 2010 Why not?I'd use Message instead, that's a bit cleaner.but it works exactly the same way as with messageboxes. You put in the notation and add the variable afterwards. Link to comment Share on other sites More sharing options...
Leemonski Posted April 19, 2010 Author Share Posted April 19, 2010 Why not?I'd use Message instead, that's a bit cleaner.but it works exactly the same way as with messageboxes. You put in the notation and add the variable afterwards.Ok it's not working for me. This is what I used. MessageBox "Variable is set at MyQuest.v" It should display the message Variable is set at 1 (or what ever value the variable v is set at) but it displays the text instead. Link to comment Share on other sites More sharing options...
Vagrant0 Posted April 19, 2010 Share Posted April 19, 2010 Why not?I'd use Message instead, that's a bit cleaner.but it works exactly the same way as with messageboxes. You put in the notation and add the variable afterwards.Ok it's not working for me. This is what I used. MessageBox "Variable is set at MyQuest.v" It should display the message Variable is set at 1 (or what ever value the variable v is set at) but it displays the text instead.use messagebox "Variable = %g" "myquest.v" instead. Link to comment Share on other sites More sharing options...
Leemonski Posted April 19, 2010 Author Share Posted April 19, 2010 Ok, got it working now, thanks a lot guys. Link to comment Share on other sites More sharing options...
Recommended Posts