Personnage
isInFight
Vérifier si le personnage est actuellement en combat.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Vérifier si le personnage est actuellement en combat.
character:isInFight()
| Type | Description |
|---|---|
boolean | true si le personnage est en combat, false sinon. |
if character:isInFight() then
global:printMessage("En combat !")
else
global:printMessage("Déplacement possible")
end