Phelps1247 Posted October 14, 2018 Posted October 14, 2018 Like where it says "(Companion) liked that" in the corner. Any way to input a custom one? I thought textinput menu would be it but if it is I can't figure it out. I thought maybe there was a way to do it through the console but I can't find it if there is.
Guest Posted October 15, 2018 Posted October 15, 2018 This? https://www.nexusmods.com/fallout4/mods/20310
AWP3RATOR Posted October 16, 2018 Posted October 16, 2018 @Phelps1247 There are 2 styles of onscreen messages available to modders. The top left corner is a Notification and will automatically disappear after a few seconds. The other is Message Box which will show a text box on screen with an OK button. These do need to be called from a mod though and aren't available via console. Debug.Notification("This will appear in top left corner") Debug.MessageBox("This will appear in the center of screen with an OK button") A third option, not optimal for player's to see (unless they review the console itself or papyrus log) would be Trace. This puts a message in both the player's console and papyrus log file. Debug.Trace("Prints a message to console and papyrus log")
Phelps1247 Posted October 17, 2018 Author Posted October 17, 2018 Yeah, the message in the corner type thing was what I wanted. Guess it can't be done in the way I'm thinking. Thanks.
Evan555alpha Posted November 4, 2018 Posted November 4, 2018 On 10/17/2018 at 12:30 AM, AWP3RATOR said: -snip- Ah, but those are debugs. If you accidentally compile with the compiler set to remove stuff that uses the "debug" script, those will be removed. I suggest using $Message.Show() instead, where $Message is your MessageBox property defined in the script, and set to be a message that is a record in your plugin. Within the message record, you can define how long it's displayed (if it's a box), and use flags to define whether it's a message box, or a notification. I use both to send the end user update notifications, or first time mod startup message boxes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.