Game To Real Time
PureGameToRealTimeConverts game time to real-world time using a time scale multiplier.
Type: Pure (no side effects)
Category: Fortuna|Time & Date
Keywords: time & date
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| GameSeconds | float | — | GameSeconds parameter |
| TimeScale | float | — | TimeScale parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | float | ReturnValue output |
Example Use Cases
Example 1
Show a player how long in real time until sunrise.
Example 2
Calculate real duration of a game event.