thanks to Jay_H's great tutorials and after studying a lot of existing quests, I have finally started to write a quest. And I will probably ask a lot of questions in the future here.
I want this quest to start automatically once the player is in Daggerfall City and it is between 17:30 and 22:00. The time condition works fine, but not the place condition.
I tried the following (just a snippet of the relevant parts):
Code: Select all
-- The City of Daggerfall Place _DaggerfallCity_ permanent DaggerfallCity1 -- needed for the quest to start up immediately Clock _init_ 0:00 -- needed for the quest to finish shortly after start (as this quest only starts MDBHC001) Clock _finish_ 0:02 -- ** Tasks ** -- Quest start-up: start timer _init_ _init_ task: when _Evening_ and _InDaggerfallCity_ say 1027 start timer _finish_ pick one of _intro1_ _intro2_ _intro3_ start quest MDBHC001 _finish_ task: end quest -- this task ensures that the quest only starts in late afternoon and evening _Evening_ task: daily from 17:30 to 22:00 -- this task checks if player is at Daggerfall City and sets the "arrived" task (like a flag) _InDaggerfallCity_ task: pc at _DaggerfallCity_ set _FlagArrived_ -- this empty task is just a flag which is checked in the _init_ task above _FlagArrived_ task: