-
Notifications
You must be signed in to change notification settings - Fork 0
soundmasks
Charles Hydronium edited this page Nov 9, 2024
·
1 revision
this library masks some taunts depending on the state of the game. Currently, it's masking YesSir and Hmm before cutscenes, as well as Missed and Coward when the Enemy is gone, but something still needs to be done.
To use anything from this library, you need to add the following to the script:
HedgewarsScriptLoad("/Missions/Campaign/A_Collection_of_Unimaginative_Dreams/Scripts/soundmasks.lua")
this function should only be placed on top of onNewTurn()
with num
set to 0
and onEndTurn()
with num
set to 1
.
function onNewTurn() SoundMasks(0) end
function onEndTurn() SoundMasks(1) end