Difference between revisions of "Turtle.attackDown"

From ComputerCraft Wiki
Jump to: navigation, search
(Created to resolve dep. issues.)
 
(Add toolSide argument)
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|name=turtle.attackDown
 
|name=turtle.attackDown
 
|api=turtle
 
|api=turtle
|returns=[[boolean]] whether the turtle succeeded in attacking downwards
+
|args=[<nowiki/>{{type|string}} toolSide]
 +
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in attacking downwards
 
|addon=ComputerCraft
 
|addon=ComputerCraft
|desc=Attempts to attack above 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

Grid Redstone.png  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


See also