View Full Version : HOW I USE MACHETE?
paines19
06-09-2013, 12:53 PM
I need help for use machete... i search, but i dont find how..
Xeromex
06-09-2013, 01:24 PM
Self.CutGrass(PosX, PosY, PosZ)
paines19
06-09-2013, 09:21 PM
Self.CutGrass(PosX, PosY, PosZ)
I do not get it... pleace, explain better for me...
[Tutorial] How to use the Scripter (http://forums.xenobot.net/showthread.php?970-Tutorial-How-to-use-the-Scripter)
Make a label in Walker, give the the name of Machete.
Then, make a script
registerEventListener(WALKER_SELECTLABEL, "onLabel")
function onLabel(label)
if (label == "Machete") then
Self.CutGrass(1000, 1000, 7) -- Position of item
end
end
Nakuu
06-09-2013, 10:19 PM
Or simply Add Script to the Walker (no need to create .lua for that one simple command) and add write that function there (PosX etc are coordinates of where you want to use machete) :)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.