버전
Since you may use the same container for several different game objects, you need to decide whether all instances of the container used in the game will be treated as one object or each instance is treated independently. In Wwise, this concept is called the scope of your container. You can set the scope to either of the following options:
Global - Treats all instances of the container used in the game as one object so that repetition of sounds, voices, or motion FX objects across game objects is avoided.
Game object - Treats each instance of the container as a separate entity, which means that no sharing of sounds or motion FX objects occurs across game objects.
Note | |
---|---|
The Scope option is not available for sequence containers in Continuous play mode because the entire playlist is played each time an event triggers the container. |
Let's say you are creating a first person role-playing game. You have 10 guards that all share the same 30 pieces of dialogue. In this case, you can group your 30 sound voice objects into a random container that is set to Shuffle and Step. You would use this same container for all 10 guards and set the scope of the container to Global to avoid any chance that the different guards may repeat the same piece of dialogue. You can apply this concept to any container that is shared across objects in your game.
To set the scope of the container:
Load a random or sequence container into the Property Editor.
In the Scope group box, select one of the following options:
Global to treat all instances of the container used in the game as one object so that repetition of sounds, voices, or motion FX objects across game objects is avoided.
Game object to treat each instance of the container as a separate entity and, therefore, no sharing of sounds, voices, or motion FX objects occurs across game objects.
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요