Difference between revisions of "GetSecondsPassed"
Jump to navigation
Jump to search
m
Typo: "it's" (it is) -> "its" (possessive)
imported>Cipscis m (Typo: "th" -> "the") |
imported>Cipscis m (Typo: "it's" (it is) -> "its" (possessive)) |
||
Line 21: | Line 21: | ||
*[[SetGlobalTimeMultiplier]] will affect the return value of this function in the same way it affects the speed of the game. | *[[SetGlobalTimeMultiplier]] will affect the return value of this function in the same way it affects the speed of the game. | ||
*Each script has | *Each script has its own independent tracking of when GetSecondsPassed was last called. | ||
*Calling this function multiple times in the same script in the same frame will return the same values for each call. | *Calling this function multiple times in the same script in the same frame will return the same values for each call. | ||
*This function is unreliable in a ScriptEffect during sleep/wait/fast travel. Use [[ScriptEffectElapsedSeconds]] instead. | *This function is unreliable in a ScriptEffect during sleep/wait/fast travel. Use [[ScriptEffectElapsedSeconds]] instead. |