Ok, lets take another aproach.
I want to create a behavior that will spawn object, and type of object should be selected by string, rather then object picker.
My guess is to find array that contain all object types and search required type by name (string) and then use default function to spawn new object.
Shouldnt be too hard, but i cant figure out where is object type array, so i could access them in plugin script. Also - object type name is uniqe per type? Becuase if not, i guess whole idea is dead.
May be some one know where is this array? Tnx for answers btw!