In this tutorial you will learn how to:
- execute action on label
- use infinite loop while true do
- use finite loop for i = 1, 10 do
required Rifbot 1.95 release 2021-09-30 15:35 or later
1. This is sample waypoints to add it right click on walker > edit
2. Now we need to lua function for catching label signals. You can add it using Options > Lua scripts > New Script
3. First we have label start, let's just close all backpacks and open main backpack.
4. When lua finish will continue walker. Label drop, now you learn how to do actions until they truly finish. We will drop items from backpack to ground.
5. Last one is label dance where you will learn how to use for loops. Let's dance a little bit.
All functions with they arguments are documented in Rifbot Lib.lua inside bot folder.
That's all, if you have any questions post it below.
p.s. Images was used to prevent copying code :)
No comments:
Post a Comment