cellIdToInteractive
map:cellIdToInteractive(Cellid)Nom
Type
Description
local cellId = 256
local interactiveId = map:cellIdToInteractive(cellId)
if interactiveId > 0 then
global:printMessage("Element interactif ID: " .. interactiveId)
-- Utiliser l'element
map:useById(interactiveId, 0)
else
global:printMessage("Pas d'element interactif sur cette cellule")
endMis à jour

