Difference between revisions of "User:Rasikko"
m
→Time Functions
imported>Scrivener07 (→Time Functions: updated GetCurrentDayOfWeek) |
imported>Scrivener07 m (→Time Functions) |
||
Line 50: | Line 50: | ||
return daysOfWeek[dayOfWeek] | return daysOfWeek[dayOfWeek] | ||
EndFunction | |||
</source> | |||
<br> | |||
Converting functions..(short description) | |||
<source lang="papyrus"> | |||
Float Function GameDaysPassedToGameSecondsPassed(Float afDaysPassed) | |||
; Converts the GameDaysPassed return value to seconds passed. | |||
return afDaysPassed * 3600.0 | |||
EndFunction | EndFunction | ||
</source> | </source> |