Whats the best way to run a sequence (successfully) *ONCE*

Fashtas

New member
I want a NPC to run a daily schedule, and want to have some sequences that are run ONCE per day (assuming they run entirely through successfully) and not again until the new "day"

Example:
Between 8 and 9, walk a path to location A
Between 9 and 10, walk to location B
etc

while other trees handle things the NPC may see on the way there using Interrupts

Currently I store some variables for NPCID's and have my own Action that checks to see if we are in a time slot and for THIS id and THIS time if we have recorded this as success?
At the end of a sequence I have another action that records for THIS id and THIS time we had a success
Seems kludgy.... any other ideas?
 
Top