Difference between revisions of "Turtle.attackUp"
From ComputerCraft Wiki
(Created page to resolve dep. issues.) |
(Add toolSide argument) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
|name=turtle.attackUp | |name=turtle.attackUp | ||
|api=turtle | |api=turtle | ||
| − | |returns=[[boolean]] whether the turtle succeeded in attacking upwards | + | |args=[<nowiki/>{{type|string}} toolSide] |
| + | |returns=[[boolean_(type)|boolean]] whether the turtle succeeded in attacking upwards | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Attempts to attack above the turtle. | |desc=Attempts to attack above the turtle. | ||
}} | }} | ||
| + | |||
| + | ==See also== | ||
| + | *[[turtle.attack]] | ||
| + | *[[turtle.attackDown]] | ||
[[Category:Lua_Core_Functions]] | [[Category:Lua_Core_Functions]] | ||
Latest revision as of 10:34, 24 October 2018
| Attempts to attack above the turtle. | |
| Syntax | turtle.attackUp([string toolSide]) |
| Returns | boolean whether the turtle succeeded in attacking upwards |
| Part of | ComputerCraft |
| API | turtle |