Dufftacular Posted August 10, 2022 Share Posted August 10, 2022 Hi all, I got an idea of something I would like to do, but I don't know much about creating scripts. Is it possible to create a script that plays a sound descriptor as the player is reading a note, then stops playing when the player stops reading the note?Thanks ^^ Link to comment Share on other sites More sharing options...
Zorkaz Posted August 10, 2022 Share Posted August 10, 2022 I don't think so. There's Event OnRead()but nothing of the opposite kind Link to comment Share on other sites More sharing options...
DlinnyLag Posted August 10, 2022 Share Posted August 10, 2022 (edited) When player closes Book/Note somehow then BookMenu closing event is sent. See RegisterForMenuOpenCloseEvent, it should be possible to use it for detection of Book/Note opening as well.You can take a look to an example of usage in my mod Know Your Friend. It have a logic of book closing handling. To manage audio playback you can use Sound script. Edited August 10, 2022 by DlinnyLag Link to comment Share on other sites More sharing options...
Recommended Posts