Run script in node only once
Posted: Mon Dec 26, 2022 9:39 pm
Hi Tony,
I have a script that moves NPCs to different locations during a dialogue node (e.g., a few feet to the right). But if you repeat the dialogue, it obviously runs that script and moves them to the right again. Is there any way to only execute a script within a node only once? Maybe something with the SIM status? Looked around a bit and couldn't find an easy solution.
Thanks!
I have a script that moves NPCs to different locations during a dialogue node (e.g., a few feet to the right). But if you repeat the dialogue, it obviously runs that script and moves them to the right again. Is there any way to only execute a script within a node only once? Maybe something with the SIM status? Looked around a bit and couldn't find an easy solution.
Thanks!