Difference between revisions of "Hpl3:Game:scripting:user modules:emotion"
Jump to navigation
Jump to search
(Upload from wiki) |
(No difference)
|
Latest revision as of 15:43, 9 July 2020
Contents
Emotion
Helper function prefix: Emotion_
This module implements heavy breathing and heartbeats effects, allowing you to programmatically change volume and rate of both.
Important Functions
Emotion_StartHeartbeat
Start a regular heartbeat sound.
Emotion_StopHeartbeat
Stop a heartbeat sound.
Emotion_SetHeartbeatProperties
Alter the properties of an existing heartbeat.
Emotion_StartBackgroundBreath
Start breathing sounds (normally, or fearful).
Emotion_StopBackgroundBreath
Stop breathing sounds.
Emotion_PlayEventBreath
Play a particular breathing sound effect (requires soundfiles).