How to do a basic message in a script

Post » Wed Jun 20, 2012 7:41 pm

I'm trying to do a basic message in my script for debugging.

For example, the following messageBOX will display the message and my variable feedcount.

Debug.MessageBox("Your feedcount is" +feedcount)

However, if I don't want to ok a messagebox all the time, and just want a basic message on the top of my screen that shows for a couple seconds, I can't get it to work.

I would think that debug.message would do the same thing but it doesn't work at all.

I then defined my own message property, built my message that says "your feedcount is: "
and added this to my script:
    MMDebug01Message.Show(+feedcount)

and it doesn't work.
User avatar
KU Fint
 
Posts: 3402
Joined: Mon Dec 04, 2006 4:00 pm

Post » Thu Jun 21, 2012 2:55 am

Use either
Debug.Notification("Your feedcount is" +feedcount)
Or
 MMDebug01Message.Show(feedcount)

Where the Message is...
"your feedcount is: %f"
User avatar
Peter P Canning
 
Posts: 3531
Joined: Tue May 22, 2007 2:44 am


Return to V - Skyrim