As the title suggests, in my quest mod I'm getting an issue where I want to start a task out in the wilderness. When fast travelling from the previous location of the quest (in the wilderness) to a remote palace in a city, the _entersAnywhere_ task doesn't initiate. This means that the next part of the quest starts immediately while inside the palace. The qrc message from npc in the palace asks the pc to use an item out in the wilderness and then the next task initiates but you can use the item anywhere at that stage, as the variable _inWilderness_ is still active due to the fast travel. I'd post the whole quest but it's ridiculously long...
I used this string of code from an old forum post. When I try to clear with these in another task it doesn't work either.
Code: Select all
clear _inWilderness
clear _exitsAnywhere_
Here is the full
Code: Select all
variable _inWilderness_
_entersAnywhere_ task:
when pc enters anywhere
clear _inWilderness_
clear _exitsAnywhere_
_exitsAnywhere_ task:
when pc exits anywhere
setvar _inWilderness_
clear _entersAnywhere_