game.getrealhourspassed

Post » Tue Nov 20, 2012 1:13 pm

Hello,
has anyone ever worked with game.getrealhourspassed?
I crated a simple script using this command but it seems not to work.
For example, i used coc to jump to a cell, waited 2 minutes and then triggered the script. But the Value game.getrealhourspassed returned was 0.05... I tried it again, waited about 10 minutes and game.getrealhourspassed returned 0.17.

Has anyone ever successfully used this?
Thanks for the Help!

(What i`m trying to do: when the player enters a certain area, i need to check if he has at least played 15 minutes in two different levels)
User avatar
Guinevere Wood
 
Posts: 3368
Joined: Mon Dec 04, 2006 3:06 pm

Post » Tue Nov 20, 2012 10:09 pm

10 minutes = 1/6 (One-sixth of an hour)

1/6 = 0.16666666666666666666666666666667 = 0.17
User avatar
Paula Ramos
 
Posts: 3384
Joined: Sun Jul 16, 2006 5:43 am


Return to V - Skyrim