hpl3:game:scripting:user_modules:emotion [2015/09/16 11:15] ian.thomas created |
hpl3:game:scripting:user_modules:emotion [2015/09/16 14:04] (current) ian.thomas |
||
---|---|---|---|
Line 3: | Line 3: | ||
This module implements heavy breathing and heartbeats effects, allowing you to programmatically change volume and rate of both. | 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). |