Woverdude Posted March 18, 2012 Share Posted March 18, 2012 Is there any way besides a quest to make a message display the value of a global variable? Also, as far as I've read, it's possible for a Debug.MessageBox to display the value of Global variables, but how is that done? Here is the messagebox code that I want to have my variables displayed in: Debug.MessageBox("Level:" Level.GetValue(), "Level Progress:" Use.GetValue(), "Perk Points Available:" PointsAvailable.GetValue()) The compiler is throwing out numerous errors with this line, so I assume that I'm going about it the wrong way. Link to comment Share on other sites More sharing options...
fg109 Posted March 18, 2012 Share Posted March 18, 2012 Debug.MessageBox("Level: " + Level.value + ", Level Progress: " + Use.value + ", Perk Points Available: " + PointsAvailable.value) Link to comment Share on other sites More sharing options...
Woverdude Posted March 18, 2012 Author Share Posted March 18, 2012 Ahh, I tried that as: Debug.MessageBox("Level: " + Level.value ", Level Progress: " + Use.value ", Perk Points Available: " + PointsAvailable.value) I saw another script that used a similar format, but it only had one phrase and one variable so I didn't know what to do when there were more. Looks like I just left out some '+'s. Thanks for your help! :smile: Link to comment Share on other sites More sharing options...
Recommended Posts