nw::snd::SoundActor::SetPlayableSoundCount Member Function

Syntax

#include <nw/snd/snd_SoundActor.h>
void SetPlayableSoundCount(
     int actorPlayerId,
     int count
);

Arguments

Name Description
in actorPlayerId The actor player number.
in count Number of sounds that can be played simultaneously.

Return Values

None.

Description

Sets the number of sounds that are simultaneously playable.

There are four actor players in a sound actor. It is possible to set the limit on the number of sounds that can be simultaneously played by each actor player. This setting is independent of the simultaneous sound count set in the sound player.

If a sound that exceeds the set number of sounds is played, the player priority set for each sound is compared and the sound with the lowest priority is stopped.

The initial value is unlimited for actor player 0 and one for all other actor players.

See Also

GetPlayableSoundCount

Revision History

2010/02/23
Initial version.

CONFIDENTIAL