Jump to content

Trigger Stage After 20 Items Removed


Recommended Posts

So, I've got a quest where as you find 20 items you can turn them into a terminal for some cash. That's all setup fine. But, after all 20 items are removed, I want a new stage to trigger to provide a dialogue stage with an NPC to give the player a final reward for finding all the items. What's the best mechanism to trigger the stage? I've worked with counters in dozens of quests, but they're always part of the quest itself. Would it be best to setup a non-visible container where they go and setup a script that checks it? Is there a counter I can run so when you click on all 20 topics in the terminal at the turn in phase, it triggers the next stage?

Link to comment
Share on other sites

  • 2 weeks later...

Ok, figured my own workaround after weeks of frustration. Rather than it being it's own stage I just made it so when each item is taken away from the player it's put into an inaccessible container, and put 20 'GetItemCount' conditions on the dialogue I wanted triggered, looking at the container for 1 of each item. Not exactly what I was originally thinking, but it works.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...