Noise: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Talisan (talk | contribs)
Created page with "{{feature|1|0.3.54| |Noise1.png| }} The '''noise''' command plays a sound once in a currently undefined radius {{Clear}} ==Usage== '''noise''' url ==Arguments== ; url :..."
 
GSK (talk | contribs)
mNo edit summary
Line 4: Line 4:


==Usage==
==Usage==
     '''noise''' url
     '''noise''' url [''radius=''] [''global'']
==Arguments==
==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
; 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.<br />'''Prerequisites:''' version 0.3.60<br />'''Values:''' Decimal numbers greater than 0.0<br />'''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==
==Example==

Revision as of 18:50, 3 March 2017

Noise
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.
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