Actions
isWalkable
Vérifier si une cellule est praticable (ignore l’occupation).
Vérifier si une cellule est praticable (ignore l’occupation).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Vérifier si une cellule est praticable (ignore l’occupation).
fightAction:isWalkable(cellId)
| Nom | Type | Description |
|---|---|---|
cellId | int | Identifiant de la cellule à vérifier. |
| Type | Description |
|---|---|
boolean | true si le terrain est praticable, false si c’est un obstacle. |
if fightAction:isWalkable(cell) then
fightDebug:print("La cellule " .. cell .. " est praticable")
end