TLOU has randomized scripted moments. They won't always appear on the same playthrough, but they are scripted.
It was ND's way of making the AI seem not scripted, by not having the same scripted scene appear all the time. Neat trick, but its still scripted.
all AI is scripted. thats how they make AI.