Timed Trigger CopperCube Action
A downloadable asset pack
🕒 Timed Trigger
🔧 What is it?
Timed Trigger is a custom CopperCube action that allows you to execute a sequence of three actions over a set duration. It’s ideal for animations, effects, logic sequences, or anything that requires start, ongoing, and end phases with precise timing.
⚙️ How it works
When triggered, this action performs:
-
OnStart – Executed immediately when the action is activated.
-
WhileActive – Called every frame during the defined time period.
-
OnComplete – Executed once, right after the timer ends.
The action uses a timer in milliseconds, and everything is handled internally — you only need to define what actions happen during each phase.
🛠️ Editor Setup
In the CopperCube Action, when adding Triggers a timed sequence
, you’ll need to configure 4 parameters:
Parameter | Description |
---|---|
Duration | milliseconds the sequence will run. (e.g. 1000 = 1 second) |
OnStart | once, immediately when triggered. |
WhileActive | every frame during the duration. |
OnComplete | once, after time is up. |
⚠️ If you don't set a sub-action, it will simply be skipped.
💡 Practical Use Cases
-
Animated sequences: Start a particle effect, animate during, and clean it up after.
-
Gameplay logic: Open a door, keep it open for X seconds, then close it.
Updated | 2 days ago |
Published | 7 days ago |
Status | Released |
Category | Assets |
Author | SamGrady |
Tags | ambiera, coppercube, gamedev, samgrady |
Code license | MIT License |
Comments
Log in with itch.io to leave a comment.
Amazing!
Awesome sam,good job