action changement de map du bot

    Publicités

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

Welony

Membre Banni
Jan 9, 2017
44
2
569
Bonjour, j'aimerais crée un script qui permet au bot de venir une map, aller sur la droite, revenir sur cette map pour ensuite aller en bas. (et inversement)

voilà à quoi ça ressemble pour l'instant mais ça ne fonctionne pas, il tourne en rond sur quelques map.

function move()
return {
{map = "23,-22", changeMap = "top", gather = true},
{map = "23,-23", changeMap = "left", gather = true},
{map = "22,-23", changeMap = "top", gather = true},
{map = "22,-24", changeMap = "top", gather = true},
{map = "22,-25", changeMap = "left", gather = true},
{map = "21,-25", changeMap = "right", gather = true},
{map = "22,-25", changeMap = "right", gather = true},
{map = "23,-25", changeMap = "top", gather = true},
{map = "23,-26", changeMap = "bottom", gather = true},
{map = "23,-25", changeMap = "bottom", gather = true},
{map = "23,-24", changeMap = "right", gather = true},
{map = "24,-24", changeMap = "right", gather = true},
{map = "25,-24", changeMap = "left", gather = true},
{map = "24,-24", changeMap = "bottom", gather = true},
{map = "24,-23", changeMap = "left", gather = true},
}
end

Merci pour votre aide.