Difference between revisions of "Turtle.attackDown"
From ComputerCraft Wiki
(This attacks below, not above) |
(Add toolSide argument) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
|name=turtle.attackDown | |name=turtle.attackDown | ||
|api=turtle | |api=turtle | ||
+ | |args=[<nowiki/>{{type|string}} toolSide] | ||
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in attacking downwards | |returns=[[boolean_(type)|boolean]] whether the turtle succeeded in attacking downwards | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Attempts to attack below the turtle. | |desc=Attempts to attack below the turtle. | ||
}} | }} | ||
+ | |||
+ | ==See also== | ||
+ | *[[turtle.attack]] | ||
+ | *[[turtle.attackUp]] | ||
[[Category:Lua_Core_Functions]] | [[Category:Lua_Core_Functions]] |
Latest revision as of 10:35, 24 October 2018
Function turtle.attackDown | |
Attempts to attack below the turtle. | |
Syntax | turtle.attackDown([string toolSide]) |
Returns | boolean whether the turtle succeeded in attacking downwards |
Part of | ComputerCraft |
API | turtle |