User Tools

Site Tools


Sidebar

hpl3:game:scripting:user_modules:emotion

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

hpl3/game/scripting/user_modules/emotion.txt · Last modified: 2015/09/16 14:04 by ian.thomas