AbsoluteMinutes
Total minutes elapsed since the current run began, measured on the project’s in-fiction clock rather than wall-clock time. The counter grows monotonically and never wraps, even though the clock-of-day itself wraps every 24 hours.
Category: Time Returns: int
Signature
AbsoluteMinutes()
No arguments.
Examples
AbsoluteMinutes() >= 30 // at least half an hour in-fiction
AbsoluteMinutes() < 5 // within the first five minutes
AbsoluteMinutes() > FromHours(2)
// more than two hours have passed
Notes
- Requires time to be enabled for the project (Project, then Time). With time disabled, any expression using this function fails validation.
- The counter only moves when an event advances the clock: an Advance Time event adds a fixed number of minutes, and a Set Time Bucket event jumps forward to the start of the named time bucket. It never advances on its own with real-world time.
- Renamed from
MinutesSinceStart; projects written against the old name are updated by the rename migration. - The
timevariable is a legacy alias ofAbsoluteMinutes(), auto-declared when time is enabled. Prefer callingAbsoluteMinutes()directly in new expressions: the validator warns on baretimebecause the name reads as clock-of-day rather than the elapsed total it actually holds. - For clock-of-day rather than elapsed time, use CurrentHour, CurrentMinute, or IsTimeBetween.