Message without interaction

Post » Mon Jun 18, 2012 2:36 pm

Hi all,

I have a script that will open a Messagebox with some options to choose from (Bad design of the boxes that you can only use the buttons in a line instead of a list, but I can live with this atm).

It all works as I need. But now I need a message when one button is pressed as a information only. I need the message with out a OK button. How can I do this ?

Thx

Thalon
User avatar
Kevan Olson
 
Posts: 3402
Joined: Tue Oct 16, 2007 1:09 am

Post » Tue Jun 19, 2012 2:06 am

You create a message object in the CK, and uncheck the "Message Box' check box.
That should display the message in the upper left, like other informational messages. I think...
User avatar
matt white
 
Posts: 3444
Joined: Fri Jul 27, 2007 2:43 pm

Post » Mon Jun 18, 2012 9:55 pm

Thx for your fast response.

I tryed but now there comes no message.

I tested with Auto-display and without. Display Time I set to 10.

In the script I use myMessage.Show() same as for the message-box with the ok button.
Have I use an other call to see a message ?

Cu
Thalon
User avatar
Ross Zombie
 
Posts: 3328
Joined: Wed Jul 11, 2007 5:40 pm

Post » Tue Jun 19, 2012 2:04 am

I think http://www.creationkit.com/MessageBox_-_Debug would be a quick and easy way of doing this, although it's generally cleaner and better practise to use a proper form for your message if it's not a debugging message.

Cipscis
User avatar
Brentleah Jeffs
 
Posts: 3341
Joined: Tue Feb 13, 2007 12:21 am

Post » Mon Jun 18, 2012 4:22 pm

Hi,

thx but a I wrote I need only a message without a OK-Button. The Debug.MessageBox is not useable while it will wait for clicking ok.

It works now. A message is shown left.

I insert Utility.Wait(1) after the message that fixed it.

Thx all for the help
User avatar
vicki kitterman
 
Posts: 3494
Joined: Mon Aug 07, 2006 11:58 am

Post » Mon Jun 18, 2012 6:19 pm

Sorry for the doubble post but I have an other question.
How can I create the Message text from a reference.

I need to teleport to my playerhouse breezehome.
Now I have the reference (ObjectReference property myRefernce ;a Marker in the cell breezehome)
I need to put the cell into a string and show it as a message eg. 'Teleporting to Breezehome'

Thx
Thalon
User avatar
Khamaji Taylor
 
Posts: 3437
Joined: Sun Jul 29, 2007 6:15 am

Post » Mon Jun 18, 2012 11:59 pm

As far as I know, there's no way to get the name of a cell in Papyrus. The best approach would probably be to create a "string" property to hold the name of the cell, so if you want to reuse the script for a different cell you can assign a different cell name via that property.

Cipscis
User avatar
Rex Help
 
Posts: 3380
Joined: Mon Jun 18, 2007 6:52 pm


Return to V - Skyrim