Passer au contenu principal

Documentation Index

Fetch the complete documentation index at: https://docs.dotouch-emu.com/llms.txt

Use this file to discover all available pages before exploring further.

Déplacer le personnage aussi près que possible d’une cellule cible.

🎮 Méthode

fightAction:moveToWardCell(cellId)

📝 Arguments

NomTypeDescription
cellIdintIdentifiant de la cellule cible.

💎 Valeur de retour

TypeDescription
void

💡 Exemple

local cellId = fightAction:getNearestEnemy()
if fightAction:getDistance(fightCharacter:getCellId(), cellId) > 1 then
    fightAction:moveToWardCell(cellId)
end