Jump to content

How to remove notification messages in scripts?


Recommended Posts

Posted (edited)

I get notification messages from two mods in the upper left corner when loading a save. I would like to get rid of these messages. One is from Bikini Armor Quest, the other from Better Face Lighting.

 

I am able to remove the notification text from both scripts and recompile the scripts. However I haven't found out yet how to remove also the version numbers they display.

 

Bikini Armor Quest code snippet:
Function FixQuest()
    Notification("Bikini Armor Quest Current Version" + CheckingVersion() + "." + CheckingVersionDecimal() + "Loading...")
    if !BikiniDelieveryQuest01.isrunning()
        BikiniDelieveryQuest01.setstage(0)
    endif
EndFunction

 

Better Face Lighting code snippet:

Function Maintenance()
    fVersion = 3.3 ; and this
    Debug.Notification("Better Face lighting initializing Version " + StringUtil.Substring((fVersion as string), 0,4))

;/    If fversion > 0.99 && fVersion < 2.1 ; <--- Edit this value when updating

        Debug.Notification("Better Face lighting Updating")
                
        fVersion = 2.0 ; and this

 

The full scripts are in the scripts.rar.

scripts.rar

 

Edited by Gudulba
Posted (edited)

search for all "Debug.Notification" and put a ; in front of it (not a : but a ; )

 

edit Eg:

Function Maintenance()
    fVersion =  3.30 ; and this
;    Debug.Notification(" " + StringUtil.Substring((fVersion as string), 0,4))

 

BFLUpdateScript has 4 Debug Notifications

 

Edited by MadMansGun
Posted

It is also possible to display messages in the top left corner using Message records. In that case you'd be looking for something like this:

 

Message Property MyAnnoyingMessage Auto

...

Function MyAnnoyingFunction(...)
	MyAnnoyingMessage.Show(...)
EndFunction

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...