From 8c5ea9cee4e9df7764e5d0b93a090bf14e8bde61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sat, 25 Jul 2020 23:17:12 -0700 Subject: [PATCH] fixed negative follow time. Guards actually won't follow if sneak >= 100 now --- MWSE/mods/celediel/MoreAttentiveGuards/sneak.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/MWSE/mods/celediel/MoreAttentiveGuards/sneak.lua b/MWSE/mods/celediel/MoreAttentiveGuards/sneak.lua index 38b3990..1b01fd2 100644 --- a/MWSE/mods/celediel/MoreAttentiveGuards/sneak.lua +++ b/MWSE/mods/celediel/MoreAttentiveGuards/sneak.lua @@ -94,6 +94,7 @@ local function startFollowing() local function startFollow() local followTime = calculateFollowTime() + if followTime <= 0 then return end log("%s starting to follow %s for %s time units", follower.object.name, tes3.player.object.name, followTime) tes3.setAIFollow({reference = follower, target = tes3.mobilePlayer})