Page 1 of 1

Best place for "Start" and "End" Quest "Actions"?

Posted: Thu Apr 28, 2022 11:24 am
by mroshaw
I'm so sorry, Tony, I seem to be on a bit of a roll. I would have added to an existing ticket, but thought it would be good as a separate one, just in case someone has a similar question in the future.

Either way, my apologies for bombarding you this week!

I had a quick question about how best to "do something at the start of a quest" and "do something at the end of a quest", mainly around the use of Actions within the Quest and Quest Nodes?

It's easier to visualise things like HUD and Journal Text, as there's a flow you can move through to understand how they "build up" over the course of parsing the Quest at a point in time. For actions, I find it less clear in my head!

If I want to execute a single, one time action at the beginning of a Quest, where's the best place to do so? Quest > Start Node > Active? Or Quest > State > Active?

Same question, if I want to execute a single, one time action once a Quest has been completed, where's the best place? Quest > Success Node > True? Quest State > Successfull?

I hope this ramble makes sense to you and you can help me out. Thank you again!

Re: Best place for "Start" and "End" Quest "Actions"?

Posted: Thu Apr 28, 2022 3:07 pm
by Tony Li
mroshaw wrote: Thu Apr 28, 2022 11:24 amIf I want to execute a single, one time action at the beginning of a Quest, where's the best place to do so? Quest > Start Node > Active? Or Quest > State > Active?

Same question, if I want to execute a single, one time action once a Quest has been completed, where's the best place? Quest > Success Node > True? Quest State > Successfull?
In both cases, the answer is: either. They effectively run at the same time. When a quest goes active, it runs the Quest > State > Active actions, and then it immediately sets the Start node active and runs the Quest > Start Node > Active actions. So you can add the actions in either place, wherever it feels most logical to you.

Re: Best place for "Start" and "End" Quest "Actions"?

Posted: Fri Apr 29, 2022 10:31 am
by mroshaw
Perfect, thank you again. I've now got everything working absolutely brilliantly, with various minimap markers being enabled and disabled as I progress through quests, and as the available and active quests change across my Quest Givers. Awesome!

Re: Best place for "Start" and "End" Quest "Actions"?

Posted: Fri Apr 29, 2022 10:48 am
by Tony Li
Great! Happy questing!