You have syntax error in function f_getAllEmpty
(unnecessary semi-colon in the line with nearestObject
) and you might want to use additional call
Keep in mind that the command works with unpacked / unrapified / unbinarized files so I think the use is rather limited. 1.14 will be able to unpack PBO so that may help a bit.
I wrote "class" commands specifically for the Config Editor
(still unfinished) so that's why they wrap data around quotes.
Later I realized that the command can be used for other things so 1.14 features option to disable stringification and hence save time.
These commands also enable prospect of a 3D Mission Editor
but I don't know if I'll ever get around to create that.