Scene events in different dialogue nodes are triggered at the same time

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
LeonZhu
Posts: 10
Joined: Wed Jun 15, 2022 5:36 am

Scene events in different dialogue nodes are triggered at the same time

Post by LeonZhu »

Hi
My expectation is that in different nodes, different scene events will be triggered, and they should only be triggered when the conversation reaches this node, but I find that they seem to be triggered simultaneously?

As shown in the picture, the two scene skills placed on the two dialogue nodes were triggered together in the second node in the actual game.
Attachments
截屏2024-12-18 04.51.11.png
截屏2024-12-18 04.51.11.png (302.6 KiB) Viewed 482 times
截屏2024-12-18 04.51.03.png
截屏2024-12-18 04.51.03.png (288.59 KiB) Viewed 482 times
LeonZhu
Posts: 10
Joined: Wed Jun 15, 2022 5:36 am

Re: Scene events in different dialogue nodes are triggered at the same time

Post by LeonZhu »

I'm sure there are more precise controls, but I don't know how... maybe sequence?
User avatar
Tony Li
Posts: 23256
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scene events in different dialogue nodes are triggered at the same time

Post by Tony Li »

Hi,

A dialogue entry node's scene event runs as soon as that dialogue entry node is displayed. Is it possible that you InitPcCards() method is waiting for some reason?

You could write a custom sequencer command that calls InitPcCards(), but I think it might have the same issue.
Post Reply