it opens a chat "some choice"
then it open chat "some choice" again
both have same name. the problem is some times of day it works fine. some times it has like a 7 second delay till the chat shows up.
and other times it will see the first one but not the second.
i have tried putting delays in and some loops but none i try worked.
Code: Select all
yrest(500)
until player:target_NPC("xyz");
yrest(500) -- there can be up to a 7 second delay till the next line shows up
ChoiceOptionByName("some choice") -- first window
yrest(5000) -- tested lots of different delays 0-7000 but it just does not complete next line
ChoiceOptionByName("some choice") --second window
yrest(500) -- this delay does not seem needed.
Code: Select all
Anyone have any idea how to work this.