Description
Executes the output branches based on a timer
Information
| Plugin | RigVM |
| Category | Execution |
| Tags | Branch,If,Timeline,Execute |
| Type | FRigVMFunction_ControlFlowTimer |
Inputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| ExecuteContext | The input execution pin to hook up to the graph | Execute Context | |
| Reset | A flag to reset / restart the timer | bool | False |
| Speed | The speed to apply to the played back time | float | 1.000000 |
| Duration | The duration in seconds the timer will take to complete | float | 1.000000 |
| Repeats | A flag indicating if the timer is a one-shot or if it should repeat / loop | bool | False |
Outputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| JustStarted | The branch to run when the timer has just started | Execute Context | |
| IsRunning | The branch to run when the timer is running | Execute Context | |
| JustFinished | The branch to run when the timer has just finished | Execute Context | |
| Time | The played back / accumulated time in seconds | float | |
| Ratio | The played back / accumulated time as a ratio of time / duration (0.0 - 1.0) | float | |
| Completed | The execute flow to run every frame after all other branches | Execute Context |