Morrowind Mod:GetSecondsPassed
A UESPWiki – Sua fonte de The Elder Scrolls desde 1995
GetSecondsPassed
GetSecondsPassed Type: Time Returns: float Example: set TimePassed to ( TimePass + GetSecondsPassed ) Scripts: Akula_doors Bardoor
Returns the time in seconds since the script was last run. Very useful for timing events in scripts, for example:
begin TestTimeScript float TimePassed set TimePassed to (TimePassed + GetSecondsPassed) if ( TimePassed > 10 ) MessageBox "Displayed every 10 seconds" set TimePassed to 0 endif end