Noise

From Virtual Paradise Wiki
Jump to navigation Jump to search
Noise
Noise1.png
Build required 1
Version required 0.3.54


The noise command plays a sound once in a currently undefined radius

Usage

   noise url [radius=] [global]

Arguments

url
A Uniform Resource Locator, an address on a reachable server. This may also be the filename of the resource which will, by default, retrieve the sound from the object paths /sounds folder
radius
Changes the radius that the sound will play in. Radius only applies to .ogg format files.
Prerequisites: version 0.3.60
Values: Decimal numbers greater than 0.0
Default: 50
global
This will cause the sound to be played for all users within view of the object, otherwise it will play only for the user who initiated the event. Global is per command, not per trigger.

Example

create noise sound.wav
The file sound.wav is retrieved from the object path sounds folder, and played once
Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb