How feasible would a "spawn by name" function be?
I'm creating a game in which you crossbreed plants, and I had my plants numbered "plant1" "plant2", etc. I was hoping that I could create a variable on the seed for the type of plant, and then when the plant grew, I could spawn "plant"(type).
But the way Construct 2 works, I have to actually select the spawned object by clicking it. Which means I have to create code for spawning just one plant, and then copy and edit that code 20-odd times, which is both inefficient and frustrating.