menu
版本
2024.1.4.8780
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
Trigger(触发器)是一种 Wwise 元素,跟其他 Game Sync(游戏同步器)一样会被游戏调用。触发器会定义 Wwise 将做出怎样的特定响应来反映游戏中的情节变化。More specifically, a Trigger responds to a spontaneous occurrence in the game and launches a Stinger. Stinger 是一种短乐句,它会与当前音乐叠加并混合播放,以音乐的形式来对游戏做出响应。For more information about how Triggers and Stingers work together, see 使用 Stinger.
For example, in a fighting game, when a character lands a powerful kick, you can intensify the impact of that action with a Stinger. Before you create a Stinger, you must create a Trigger, perhaps named High kick, to be called at these points in the game, and you must choose a short Music Segment to associate with the Trigger.
The following illustration demonstrates the Trigger mechanism that plays a Stinger at a key point in the game.
![]() |
In Wwise Authoring, Triggers are represented by this icon: .
You can create Triggers in the Game Syncs tab of the Project Explorer.
To create a new Trigger:
在 Project Explorer 中,切换至 Game Syncs 选项卡。
在 Triggers 层级,执行以下操作之一:
Select a Work Unit or Virtual Folder and in the Project Explorer toolbar click
Create new 'Trigger'.
右键点击 Work Unit 或 Virtual Folder,然后从快捷菜单中选择 <New Child > Trigger。
将默认名称替换成更合适的命名。
info | 备注 |
---|---|
Each Trigger name must be unique and consist of only letters, digits, and underscores. 只有字母或下划线可以作为首字符。 |
Keep in mind that if you delete a Trigger that is assigned to a Stinger, the association with the Music Segment for the Stinger is removed.
To delete Triggers:
在 Project Explorer 中,切换至 Game Syncs 选项卡。
In the Triggers section, select the Triggers you want to delete and do either of the following:
按 Delete 键。
Right-click and select Delete from the shortcut menu.