fixed negative follow time. Guards actually won't follow if sneak >= 100 now
This commit is contained in:
parent
26e5802d82
commit
8c5ea9cee4
1 changed files with 1 additions and 0 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Reference in a new issue