Game logic - Time trigger – Ylands
Jump to navigation
Jump to search
Description
Delayed trigger which fires after given time period.
- cycle mode - triggers after certain delay
- at specific time mode - triggers at specific in-game hour during the (game) day
Settings
- Time - length cycle / specific time
- Type - real seconds / in-game hours / at specific time in game-day
- Repeat count - number of cycles
At specific time in game-day
- 24 hour format (0 - 24)
- Decimal format → 23.9 = 23:54
Events
- OnTrigger - fires at the start of each cycle
Instructions
- Get elapsed time - elapsed time of current repeat cycle
- Get remaining time - remaining time of current repeat cycle
- Set remaining time - set remaining time of current cycle, next cycle will follow se time trigger value (time)
- Get total elapsed time - returns total elapsed time of all cycles