Content deleted Content added
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..." |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1:
{{Object
|title1 = {{PAGENAME}}
|image1 =
|type =
|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}}
==Misc==
Line 38:
==Gallery==
[[File:
[[Category:Parts]]
|