No, here 'hut' is the name of the object. You can categorize it within the dwellings() function and assign a different trigger to objects of the type FORTRESS_DEFENDERS than to the rest. If you check it within the transformation function itself, it would be something like this:if contains(GetObjectNamesByType('FORTRESS_DEFENDERS'), hut) then
It works! Thank you very much :smile20: