nw::snd::SoundHandle::SetPlayerPriority Member Function

Syntax

#include <nw/snd/snd_SoundHandle.h>

void SetPlayerPriority(
     int priority
);

Arguments

Name Description
in priority The player priority value.

Return Values

None.

Description

Changes the player priority.

Changes the player priority of the sound associated with the handle. If the handle is invalid, the function does nothing.

This function changes the value of the player priority specified in the data within the sound archive.

The value of priority lies in the range 0-127; where the greater the value, the higher the priority.

Revision History

2010/01/25
Initial version.

CONFIDENTIAL