Skip to main content

BG_PAUSE

[[BG_PAUSE]]

hQuestMaster provides two audio channels: the background audio channel (Background) and a second audio channel intended for effects (Effect) that can be used to play audio tracks (in .mp3 format).

This action is used to pause the execution of the track loaded on the background audio channel.

  • Example: {[[(2), ON_SHOW(2)]] [[BG_PLAY: path_2]]}
    {[[(3), ON_DEATH(D3)]] [[BG_PAUSE]]}

In the Example, when the heroes enter the room with marker 2, the path_2 track will start playing (e.g., it could be a more dramatic track suggesting an imminent battle, since there is a gargoyle). Upon the death of the gargoyle (monster in cell D3), the track will be paused, and it can then be resumed later with the [[BG_RESUME]] action.

Attention : The audio volumes of these channels can only be modified by the user through the hQuestMaster settings.