Sdone

From DeltaWiki
Jump to navigation Jump to search
Sdone
Build

N/A

Version

N/A

The sdone (sound done) trigger occurs when a sound file completes playing.

Examples

create color white; activate sound warp1 noloop, color green; sdone color white

This action will change the color of a white object to green while a sound is played.

Object 1: create name boombox, color white; sdone color white
Object 2: activate sound warp1 name=boombox noloop, color green name=boombox
Object 3: activate sound deport1 name=boombox noloop, color green name=boombox
...
Object N: activate sound <file> name=boombox noloop, color green name=boombox

This action will change the color of another object from white to green while a sound is played. Useful when there are multiple activate triggers for the same object.

Object Scripting

Triggers: Create • Bump • Activate • Adone • At • Collide • Sdone • Enter Zone • Exit Zone

Commands: Addforce • Addtorque • Alpharef • Animate • Astart • Astop • Camera • Collider • Colltag • Color • Corona • Envi • Examine • Frame • Group • Light • Link • Lock • Matfx • Media • Midi • Move • Name • Noise • Opacity • Picture • Rotate • Say • Scale • Seq • Shadow • Shear • Sign • Skew • Skybox • Solid • Sound • Tag • Teleport / Teleportx • Texture • Timer • URL • Velocity • Visible • Warp • Web