Character Timer
Runs a repeating timer on a character: one of the eight components a character root accepts.
Introduction
Character Timer fires events on an interval while the character exists in the world: periodic behavior for guards, cooldown ticks, ambient reactions. It is the same Timer component that objects use, attached to the character root, and it is one of the eight components a character root accepts. The interval, auto start, and auto restart are all adjustable from the character's Properties Panel. For the plain object version, see Timer . The Timer component panel on a character in the Uni editor Image The Timer component panel in the character's Properties Panel. caption
How to Access
Select the character, open its Properties Panel, press Add Component, and pick Timer under the Trigger category. It is one of the eight components a character root accepts. How to Access - Add Component on a character
Properties
Time Float How long the countdown runs. Time Left The remaining time. Scripts can read this value while the timer runs. Auto Start Bool Starts counting the moment the game begins. Auto Restart Starts the countdown over automatically every time it hits zero. Property Type Description Every property on the Timer component.
Events
On Timeout Fires when the remaining time reaches zero, at most once per frame. None Event Description Parameter Every event on the Timer component. Each event links to its full guide, where its parameters and example live.
Commands
Start Begins the countdown. None Pause Holds the countdown where it is. Reset Returns the timer to its full duration. Reset does not automatically restart the countdown afterward. Command Description Parameter Commands that drive the component from a script.
Example
A guard NPC whose timer fires a wave emote every ten seconds. Character Timer - simple example