Timer Start
Start or restart a Timer.
Parameters
| Parameter | Description |
|---|---|
| Timer | The Timer variable to use. If the variable is empty, PlayMaker creates a new timer for you. |
| Duration | Timer duration in seconds. Values below 0 are treated as 0. |
| Use Realtime | When enabled, the timer uses unscaled realtime and ignores Time.timeScale. |
What It Does
- Starts the timer if it already exists.
- Restarts the timer if it was already running, paused, or completed.
- Stores the chosen duration and realtime setting on the timer.
Example
Use Timer Start when an ability enters cooldown:
- Create a
Timervariable namedCooldown. - Start it with a duration of
3. - In another state, use Timer Check Done to wait for the cooldown to finish.