IngameDateTime_Dev > Ingame Clock > Register Partial Date Timer (Delegate)

Register Partial Date Timer (Delegate)

Registers a timer event for a partial date/time. A partial date timer will trigger multiple times whenever the clock's time matches the partial date/time.

For example, in the standard Gregorian calendar, 'Jan 1, 00:00:00' would trigger every year on new year; '30:00' would trigger at half past every hour.

Cannot be called on a network client.

Inputs

In
Exec

Target
Ingame Clock Object Reference

Partial Date
Ingame Partial Date Structure (by ref)

The partial date at which the timer should fire

Data
Ingame Timer Data Structure

Arbitrary data to attach to the timer, which will be passed through to the timer event

Delegate
Delegate

The event triggered when the timer fires

Outputs

Out
Exec

Return Value
Ingame Timer Handle Structure

A handle to the registered timer