Auto-translated
then the question arises again, what does the command do?
startThread(kingblok);
and what trigger should be used here if the function should work after the side quest is completed?
Added 2 minutes ago
and the script editor gives an error on the second line.
function kingblok while 1, GetObjectiveState("sec2") == OBJECTIVE_COMPLETED do sleep(5); SetRegionBlocked("block", nil, -1); end; end; startThread(kingblok);
startThread(kingblok);
and what trigger should be used here if the function should work after the side quest is completed?
Added 2 minutes ago
and the script editor gives an error on the second line.
function kingblok while 1, GetObjectiveState("sec2") == OBJECTIVE_COMPLETED do sleep(5); SetRegionBlocked("block", nil, -1); end; end; startThread(kingblok);