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:

  1. OnStart – Executed immediately when the action is activated.

  2. WhileActive – Called every frame during the defined time period.

  3. 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:


ParameterDescription
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
StatusReleased
CategoryAssets
AuthorSamGrady
Tagsambiera, coppercube, gamedev, samgrady
Code licenseMIT License

Download

Download
extensions.zip 789 bytes
Download
demo.zip 193 kB

Comments

Log in with itch.io to leave a comment.

(+1)

Amazing!

(+1)

Awesome sam,good job