Hpl3:Game:scripting:user modules:emotion

From Frictional Wiki
Revision as of 14:43, 9 July 2020 by Maintenance script (talk | contribs) (Upload from wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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).