Difference between revisions of "Redstone.getBundledOutput"
From ComputerCraft Wiki
(Undo revision 1968 by 91.121.27.33 (talk)) |
(Changing int to number) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lowercase}} | |
− | + | {{Function | |
− | + | |name=redstone.getBundledOutput | |
− | + | |args={{type|string}} side | |
− | + | |api=redstone | |
− | + | |returns={{type|number}} the value of the colors that are activated on that side | |
− | + | |addon=ComputerCraft | |
− | + | |examples= | |
− | + | {{Example | |
− | + | |desc=Prints the value of the active colors on the back | |
− | + | |code=[[print]](redstone.getBundledOutput ("back")) | |
− | + | |output=the value of the colors, for example 1 if only white is active. | |
− | + | }} | |
− | + | }} | |
− | + | ||
− | + | [[Category:Lua_Core_Functions]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 11:50, 18 July 2013
Function redstone.getBundledOutput | |
No description provided. | |
Syntax | redstone.getBundledOutput(string side) |
Returns | number the value of the colors that are activated on that side |
Part of | ComputerCraft |
API | redstone |
Examples
Example | |
Prints the value of the active colors on the back | |
Code |
print(redstone.getBundledOutput ("back")) |
Output | the value of the colors, for example 1 if only white is active. |