π
π
π
π
Deadly Dungeons
Searchβ¦
π
π
π
π
Deadly Dungeons
Initial page
Traps
Introduction
Trap Triggers
Raycast Triggers
Disabling Traps with Triggers
Trap
Trap Mechanism
Effect Handlers
Audio Handler
Particle (Effect Handler)
Ray Handler
Custom Effect Handler
Damage System
Damageable Example
Utility
Powered By
GitBook
Effect Handlers
These components control different visual or audio effects. You can add them to the list on the
Trap Mechanism
components.
Delay:
how many seconds after the command executes after triggering.
Methods you can call with the commands in the mechanism or directly from code. Not all of these are available for every handler type.
1
// Only plays the effect once.
2
void
PlayOnce
()
3
β
4
// Start playing the effect indefinitely
5
void
Play
()
6
β
7
// Paused the effect. When the play called, it resumes.
8
void
Pause
()
9
β
10
// Stops the effect and resets it
11
void
Stop
()
Copied!
Audio Handler
Particle (Effect Handler)
Custom Effect Handler
β
Previous
Physics
Next
Audio Handler
Last modified
1yr ago
Copy link