I’m trying to add a blueprint class to an array. The blueprint in question is named Unit_Defend. However, from the dropdown menu for the array index, these are the only choices I have:
The array type is pawn reference as opposed to actor reference because I need them to spawn with their AI activated and SpawnAIFromClass() only takes pawn. I previously did Actor reference, although looking at the list of actor classes, Unit_Defend doesn’t show up there either?
The blueprints are PaperCharacters. I’m not sure if that’s derived from Actor or Pawn. Regardless, you are correct that it should show up in an array of actor references (alongside the class it’s inherited from, which DOES show up). Why it’s not is genuinely baffling me.