Title says it all.
I want to check a string within an array and then create an object whose name matches the string. Seems easy, didn't find a solution.
EDIT: Seems like this is possible in C3. Any solution in C2?
Develop games in your browser. Powerful, performant & highly capable.
I remember discussing this in another post. It's not possible, unfortunately.
The best you can do is this:
CreateName="goblin" -> System Create Object Goblin
else CreateName="troll" -> System Create Object Troll
and so on.
Thanks for the info. I will have a look at C3.