×
Create a new article
Write your page title here:
We currently have 277 articles on Waste Of Space Wiki. Type your article name above or create one of the articles listed here!



    Waste Of Space Wiki

    Speaker: Difference between revisions

    Content deleted Content added
    L4PRY (talk | contribs)
    Created page with "{{Object |title1 = {{PAGENAME}} |image1 = Hard Drive Disk.jpg |type = Programming |uses = Store and retrieve the data as DataStore |recipe = {{#invoke:GetPartInfo|getField|Recipe}} |raw_recipe = {{#invoke:GetPartInfo|getField|Raw recipe}} |malleability = {{#invoke:GetPartInfo|getField|Malleability}} }} '''Speakers''' can play audio much like Boomboxes. Speakers will still play 5 seconds of the audio even when unpowered. Pitch can be changed. Also has a Chat..."
     
    L4PRY (talk | contribs)
     
    (3 intermediate revisions by 2 users not shown)
    Line 1:
    {{Object
    |title1 = {{PAGENAME}}
    |image1 = Hard Drive DiskWosSpeaker.jpgpng
    |type = ProgrammingElectrical
    |uses = Store and retrieve the data as DataStore
    |recipe = {{#invoke:GetPartInfo|getField|Recipe}}
    |raw_recipe = {{#invoke:GetPartInfo|getField|Raw recipe}}
    |malleability = {{#invoke:GetPartInfo|getField|Malleability}}
    |durability = {{#invoke:GetPartInfo|getField|Durability}}
    }}
     
    Line 17:
    *Speaker:Chat(string message)
     
    ==Example:==
    <syntaxhighlight lang="lua" line="1">
    local Speaker = GetPartFromPort(1, "Speaker")
    Line 27:
    ''"Plays audio of length up to 5 seconds, unless it is powered in which case it can play a full audio. When clicked or triggered, it will toggle playing music and will play the song id you give it.''
     
    {{#invoke:GetPartInfo|getField|Description}}
    ''Speaker:LoadSound(Soundid) will return a Sound object. A Sound object can be modified using properties Soundid, Looped, PlaybackSpeed, Pitch, TimePosition and the methods Play, Pause, Stop, Destroy."''
     
    ==Misc==
    Line 38:
     
    ==Gallery==
    [[File:WosSpeakerSpeaker2.png|left|thumb|SpakerSpeaker inchat Stablebubble]]
    [[Category:Parts]]
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • Jo857294 • 1 day ago
  • 116.111.185.163 • 14 days ago
  • 116.111.185.163 • 14 days ago
  • 116.111.185.163 • 14 days ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.