How do I test whether an event fired correctly?

如何测试事件是否正确触发
Last updated: 2026-10-21

Check the EVT panel logs and the CANVAS preview: an event fires correctly when its trigger action plays and the chained event runs in the scheduler without a validation error.

在 EVT 面板和 CANVAS 预览中检查:当触发动作播放、且链式事件在调度器中运行且无校验错误时,事件即正确触发。

How to do it in 3SAX V3

在 3SAX V3 中如何操作

1. In EVT, create the event and give it a clear name.

1. 在 EVT 中创建事件并命名清晰。

2. In AG, add an action unit on the target part and set its trigger event to that event.

2. 在 AG 中为目标部件添加动作单元,把触发事件设为该事件。

3. In AC, place the action and its AC+MUS event chain on the timeline layers.

3. 在 AC 中把该动作及其 AC+MUS 事件链放到时间轴图层。

4. Open CANVAS, drag the character to set dx/dy, and play the action-referenced frames.

4. 打开 CANVAS,拖动角色调整 dx/dy,播放动作引用的帧。

5. Watch whether the chained event fires at the scheduled frame.

5. 观察链式事件是否在预定帧触发。

6. Run whole-project validation and click any error in the list to jump to its input.

6. 运行整项目校验,点击错误列表中的项跳转到对应输入。

7. If nothing fires, check the action's seq frame range and the part's available states; use auto-suggest sequence to regenerate a matching seq.

7. 若无触发,检查动作的 seq 帧范围和部件的可用状态;用自动建议序列重新生成匹配的 seq。

8. Save the working event to LIBRARY, then reload it in one click to confirm.

8. 把可用事件保存到 LIBRARY,再一键载入确认。

What you CAN and CANNOT do

可以做什么与不能做什么

  • CAN: chain events in AC, trigger events from AG, reuse events from LIBRARY, preview in CANVAS.
  • CANNOT: test music composition (the tool stores music metadata and notes only); fire events outside a scheduler timeline.
  • If a trigger references a missing part or state, validation turns red with a fix example and render fails.
  • If you change dx/dy in CANVAS without checking the codes, the action may desync and parts fly apart.
  • 可以:在 AC 中链接事件、从 AG 触发事件、复用 LIBRARY 事件、在 CANVAS 预览。
  • 不能:测试音乐创作(工具只存音乐元数据和音符);在调度时间轴之外触发事件。
  • 若触发引用了缺失的部件或状态,校验变红并给出修复示例,渲染失败。
  • 若在 CANVAS 改动 dx/dy 而不核对代码,动作可能失步,部件会飞散。

Try it in the 3SAX V3 creator tool and confirm your event fires.

在 3SAX V3 创作工具中试一试,确认事件正确触发。

Advertisement