Для выбора из нескольких типов конструкция примет такой вид:
b.bot = Object.Bot(EntityName(Pick))
If b <> Null Then
....
else
t.turrel = Object.turrel(EntityName(Pick))
If t <> Null Then
....
else
u.unit = Object.unit(EntityName(Pick))
If u <> Null Then
......
else
bs.boss = Object.Boss(EntityName(Pick))
If bs <> Null then
........
EndIf
EndIf
EndIf
EndIf