版本

menu_open
警告:系统已根据您所用大版本 (2023.1.8.8601) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。

使用 Trigger

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.

下图展示了游戏关键时刻用来播放 Stinger 的 Trigger 机制。

In Wwise Authoring, Triggers are represented by this icon: .

Creating Triggers

You can create Triggers in the Game Syncs tab of the Project Explorer.

To create a new Trigger:

  1. 在 Project Explorer 中,切换至 Game Syncs 选项卡。

  2. 在 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

  3. 将默认名称替换成更合适的命名。

    [备注]备注

    Each Trigger name must be unique and consist of only letters, digits, and underscores. 只有字母或下划线可以作为首字符。

Deleting Triggers

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:

  1. 在 Project Explorer 中,切换至 Game Syncs 选项卡。

  2. 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.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅