Badbonez Posted September 4, 2021 Share Posted September 4, 2021 I am an absolute beginner with the CK and while I have some programming experience, I have not written any scripts for FO4. Before I begin the process of tutorials and such, I would like to know if what I want to do is possible. I want to display a Tutorial message that says "Remember: Do Not Fast Travel to Diamond City" each time I bring up the map. Is this possible? (I have a lot of mods, and inevitably one will prevent me from fast traveling there.) If it's possible please let me know and I jump down that rabbit hole. Thanks. Link to comment Share on other sites More sharing options...
LarannKiar Posted September 4, 2021 Share Posted September 4, 2021 (edited) Yes, it's possible. You can use a Message instead of the debug notification. Scriptname YOURSCRIPTNAME extends Quest Const Message Property MyMessage Auto Const ;only necessary if you use a message Event OnQuestInit() RegisterForTutorialEvent("OnEnterPipBoyMapPage") EndEvent Event OnTutorialEvent(String asEventName, Message aMessage) ;*** when the event is sent, the script unregisters automatically. If asEventName == "OnEnterPipBoyMapPage" Debug.Notification("Remember: Do Not Fast Travel to Diamond City") ;*** If you use a message MyMessage.Show() EndIf EndEvent Edited September 4, 2021 by LarannKiar Link to comment Share on other sites More sharing options...
Badbonez Posted September 5, 2021 Author Share Posted September 5, 2021 (edited) Yes, it's possible. You can use a Message instead of the debug notification. Scriptname YOURSCRIPTNAME extends Quest Const Message Property MyMessage Auto Const ;only necessary if you use a message Event OnQuestInit() RegisterForTutorialEvent("OnEnterPipBoyMapPage") EndEvent Event OnTutorialEvent(String asEventName, Message aMessage) ;*** when the event is sent, the script unregisters automatically. If asEventName == "OnEnterPipBoyMapPage" Debug.Notification("Remember: Do Not Fast Travel to Diamond City") ;*** If you use a message MyMessage.Show() EndIf EndEvent Thank you for that information! Very helpful. Just one question, what's the difference between a Message and Debug notification? Which one displays in the tutorial message box? (I ask because I use FallUI and that box is positioned where I'd see the message best. Thank you for the information. Edited September 5, 2021 by Badbonez Link to comment Share on other sites More sharing options...
Recommended Posts