How to update state after remove a counter?

Announcements, support questions, and discussion for Quest Machine.
Post Reply
TrueHumanSoul
Posts: 6
Joined: Thu Nov 30, 2023 10:00 am

How to update state after remove a counter?

Post by TrueHumanSoul »

Hello!
I'm trying to create a simple delivery mission with a counter. The problem is that, after picking up a package I send a message to "Set to Literal Value 1", so my Condition node become "Completed" (Package 1/1) and Quest moves to a part "Delivery to a specific point".
The problem is that I can lose this package, and when it happens, i send a message to "Set a Literal value of 0" (Package 0/1). But my node still got a "Completed" status, so I can't make that quest properly. Restarting whole quest is a bad idea because this "Delivery" mission is a part of a bigger mission.
Can someone give me an advice of how to make it right?
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to update state after remove a counter?

Post by Tony Li »

TrueHumanSoul
Posts: 6
Joined: Thu Nov 30, 2023 10:00 am

Re: How to update state after remove a counter?

Post by TrueHumanSoul »

Thanks you once again for your help! =)
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to update state after remove a counter?

Post by Tony Li »

Happy to help!
Post Reply