Log in

View Full Version : script problem HALP :P



ulisbubo
12-13-2015, 09:00 AM
Ohai, im new xeno user and i cant execute this script: (its random waypoint script) "if labelName == "ToTown" then
townRnd = math.random(1, 3)
Walker.GotoLabel("ToTown" .. townRnd)
end" Whats wrong :l

globalcheater
12-13-2015, 11:37 AM
more details ?

ulisbubo
12-13-2015, 03:04 PM
its my whole lua script "if labelName == "ToTown" then
townRnd = math.random(1, 3)
Walker.GotoLabel("ToTown" .. townRnd)" get from http://forums.xenobot.net/showthread.php?19255-Random-waypoint-generation, when i mark this lua on list and when i click execute button it shows on active scripts list for 1sec and then he disappers. SRY FOR BAD ENG.

ulisbubo
12-13-2015, 08:04 PM
any1 can help?

ulisbubo
12-13-2015, 08:52 PM
So whats script to random waypoints.

Aristeus
12-13-2015, 10:48 PM
Ohai, im new xeno user and i cant execute this script: (its random waypoint script) "if labelName == "ToTown" then
townRnd = math.random(1, 3)
Walker.GotoLabel("ToTown" .. townRnd)
end" Whats wrong :l

You don't seem to have a grasp of basic scripting. I recommend reading the tutorial below if you want to get started on some small stuff.

Tutorial: http://forums.xenobot.net/showthread.php?14664-100-AFK-Script-Making

ulisbubo
12-14-2015, 11:19 AM
My eng is not good enough to understand everyth what he saying. I Just want that bot choose one stand point beetwen walker.goto.

ulisbubo
12-16-2015, 10:07 AM
close this topic