Tagged Object
Description of objects available in the pets' code.
Tagged Object
Properties
name
nameid
idhealth
healthif pet.health < 10 then
pet:moveTo(me)
endlocal monster = pet:findNearest("monster")
while monster and monster.health > 0 do
pet:hit(monster)
endMethods
smt:hasTag(tag)
smt:hasTag(tag)Last updated