Yarn Dialogue how do i use the "if visited" feature?

Hello! I need help with the yarn feature in Gdevelop for my university project.
I am trying to have dialogue that appears but onky if you’ve visited a certain node, I can’t screenshot but the dialogue goes as follows

gate
<<if visited(“Take”) >>
You have visited the take node
<>
Hello I am the gate node

I was wondering if this is wrong or if there’s another way to do this?

Have you looked in the Dialogue Tree extension on the GDevelop wiki? At the bottom of the page is a link to an example project. Open it, save it and then look at the dialogue json file. It should give you the answer.

1 Like