So… right now I can create an array of player selected characters and spawn them in the level. It works perfectly.
The problem Im running into is that instead of starting off in the combat level like I have been for testing purposes, I need to start off on my ‘team select’ level then when the player clicks the launch button it is supposed to remove the existing widgets, load the combat level and associated widgets, along with the array of characters…except… it doesnt actually spawn the characters. If I disconnect the Open Level (by Name) node, it works fine.
I thought this might be a timing problem, as in I need to delay a few seconds after the level loads before I spawn characters, but putting in a Delay node didnt solve the problem.
I ended up putting print strings after each node. What I found is that it seems to break when it hits the Get All Actors of Class node where it creates an array of TargetPoints which I use to spawn the characters. The print string should list each of them, but it doesnt.
I can see the spawned Target Points in the actor list when the game is running. They are yellow … when i dont do the load map part they are white. Not sure what that means. I believe its temporary. I know characters when they load appear yellow.