test = GetObjectNamesByType ('PeasantHut')
I would like a little more detail.
I don't think
ObjectTouchTrigger.....(...... 'test' , 'remove')
function remove (heroname)
if heroname == 'Gottai' then
GetObjectPosition (test)
RemoveObject (test)
CreateDwelling....(...,test)
end
end
will work...
Auto-translated