so, i need to open the map, delete macro code except call of the function, disable rtc and umswe and test this?
maybe i need to set correct options in grimoire?
Edit: whoa, i got something, not related with scripts and maybe a kind of perversion, still better than nothing.
you'll need to set all the required parameters of your object (doodad, destrusctible, etc.) and set a model with variations in object editor. save and close your map. then, open your map in mpq archiver (mpq master, for example), find in a root of archive file war3map.w3d. extract it and open in hex editor (i used hex editor neo). find a path, spoiled by the editor, and remove '.mdl' (maybe it will be easier to find it in notepad first, but don't save file in notepad!)Don't forget to remove point separating filename and extension!
Checked it in we, models look like should, all is fine. Seems it will be ok until you will touch 'Model' field in object manager.