Skip to content

Rest/wait time progress speed is different from vanilla

Vanilla seems faster compared to openmw..

Here's a test script:

Click to expand
;global script
begin _GetPCSleepTime
    float sleepTimer
    short isSleeping

    if (getpcsleep)
        if (isSleeping == 0)
            set sleepTimer to 0
            set isSleeping to 1
        endif

        if (isSleeping == 1)
            set sleepTimer to sleepTimer + getsecondspassed
        endif

        return
    endif

    if (isSleeping == 1)
        messagebox "Total sleep time: %.2f seconds" sleepTimer
        set isSleeping to 0
    endif
end