It seems it's not possible to create a tile object by the tileset name it uses nor the layer it's in. Is that correct?
Here's what I'm trying to do:
I have a tileset named "TS_Blocks" and each tile in it has a property called "Type" that is a string. They are placed as tile objects in an object layer called "TS_Interactive"
I want to check if any tile objects are on the layer "TS_Interactive", then create the tiles, then set their animation to the "Type" property I gave them in the tileset.
+On Each Object
+TMXImporter.LayerName = "TS_Interactive"
-Create tile at x,y
-Set animation to TMXImporter.ObjectType("Type")
but that won't even create the tiles. I then tried naming each tile object after its placed, then creating them by the object name instead, but then I could get it to retrieve the property "Type"! Any ideas?