Character Array/Map Selection

WBoden
Tue, 23 Nov 2021 12:41:40 +0000
Editor Scripting

Hey there,

I’m trying to set up a player character class setup in my JRPG project. I’m at the moment attempting to setup on who spawns and who doesn’t. I figured that connecting it with a Boolean check would help with keeping the variable from switching out order due to the fact the names must stay in order. Example

Correct orderly way: Unit 1(Check) - Unit 2(Un-check) - Unit 3(Check) - Unit 4(Check) - Unit 5(Check) - Unit 6(Un-check)

Incorrect orderly way: Unit 1(Check) - Unit 3(Check) - Unit 4(Check) - Unit6(Check) - Unit 2(Un-check) - Unit 5(Un-check)

I have a current setup that using “For Each Loop” to show the current player characters but I would like the ones to show up if they are selected which come in the Boolean and maybe with the Branch connected with the Spawn Actor.

][1]

Please, does anyone know a way to make your Array/Map of player characters spawn class from a Boolean check connected to the SpawnActor or so? I just want an idea of how to connect that.

3 posts - 1 participant