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

Building2.jpg

Triggers: CreateBumpActivateAdoneAtCollideSdoneEnter ZoneExit Zone

Commands: AddforceAddtorqueAlpharefAnimateAstartAstopCameraColliderColltagColorCoronaEnviExamineFrameGroupLightLinkLockMatfxMediaMidiMoveNameNoiseOpacityPictureRotateSayScale SeqShadowShearSignSkewSkyboxSolidSoundTagTeleport / TeleportxTextureTimerURLVelocityVisibleWarpWeb