To use this, create a Place resource and Clock resource like so:
Code: Select all
Place _palace_ remote palace
Clock _2palace_ 00:00 0 flag 1 range 0 2
If there is any text associated with the Clock, be sure to start the timer running before emitting any text:
Code: Select all
_S.03_ task:
clicked npc _dispatcher_
start timer _2palace_
log 1011 step 1
say 1020
It might also be a good idea to give player an extra bit of time at the other end. Sx012 does this by first starting the _2palace_ timer. When _2palace_ runs out, its target task starts another 2-day (fixed) timer and creates an NPC. When the fixed timer runs out, quest will end. This gives player another 2 days on top of their travel time to complete task at that location.
Code: Select all
_2palace_ task:
start timer _S.07_
place npc _messenger_ at _palace_