IngameDateTime_Dev > Ingame Clock > Register Timer In (Delegate)

Register Timer In (Delegate)

Registers a timer event to be triggered after a given delay, specified as a duration value.
Can optionally repeat indefinitely/until cleared.

Cannot be called on a network client.

Inputs

In
Exec

Target
Ingame Clock Object Reference

Duration
Ingame Duration Structure (by ref)

The duration after which the timer will fire

Repeating
Boolean

If true, the timer will fire repeatedly until cleared

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