Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
You are viewing a potentially older version of this package.
View all versions.
LethalSpeechOutput
A mod for Lethal Company that allows mod developers to provide speech output to the NVDA screen reader.
By GreenBean
| Date uploaded | 2 years ago |
| Version | 1.0.0 |
| Download link | GreenBean-LethalSpeechOutput-1.0.0.zip |
| Downloads | 371 |
| Dependency string | GreenBean-LethalSpeechOutput-1.0.0 |
README
Lethal Speech Output
Overview
Lethal Speech Output is a straightforward and easy-to-implement mod designed to provide speech output to the NVDA (NonVisual Desktop Access) screen reader.
Usage
- Call the
SpeakTextfunction followed by the string to be spoken. You can useLSOto call to the function by default.
Example:
LSO.SpeakText("Great asset to the Company.");
- ForceLogSpeech: You can set the
ForceLogSpeechvariable toTRUEto log all speech output, regardless of whether NVDA is opened or not. Useful for debugging without having to install NVDA.
Guidelines
- Avoid placing the
SpeakTextfunction in areas of your code that trigger frequently, such as inside ofUpdate(). This can lead to excessive speech output, spamming the user. If you need to use it in such areas, ensure you have a system in place to prevent spamming the screen reader.