Hi, Val!
Did I say it? I lied you )))
If OB:T = 34 (hero). #get object under hero / erm snippet
Val, be careful not to use function numbers equal or greater than 134 217 728 )
I didn't understand the whole code, but you can safely loop through huts, then access OB:T and if it is 34 (enemy hero), then use snippet above to get real subtype, type and control word of object under hero.