How to update state after remove a counter?
Posted: Thu Nov 30, 2023 10:58 am
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?
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?