Hi, I’m trying to spawn child classes from a map, but when feeding in the class, spawn actor seems to choose at random which class it spawns. Here’s the spawn logic:
It gets an array of values from the map, then I use the get node with a random integer to get a random class from the array and then feed it into spawn actor. The problem is, when I print from the get node, it print’s a random class that it got. That’s good, but now when I feed that into spawn actor, it doesn’t spawn the class I just got / was able to print out, but a random one. For example:
The first half of the string printed is the result from the get node, the second half is what the spawn actor actually spawned. It seems like it might be choosing at random from the parent class of monsters, but how do I spawn the specific monster I got from the array which was populated with the map. Here’s the map just incase:
Thanks for your time