It is not possible in C2 to summon object directly based on string. C3 has ObjectTypeName which is doable to summon object based on string parameter. However there is workaround such as utilizing function to call another function randomly or simply assign objects into a family and let the family decide randomly which object should be call out.