Hello, I would like to know if there is a way to get all characters of a class somehow. I can only find ways to find actors, but the characters i’m using have some functions on them that only characters can have.
I don’t know how to be more specific than this, but I want an equivalent to Get All Actors of Class, but with Characters instead of Actors.
Use GetAllActorsOfClass with specific class filter.
On output actors array use ForEachLoop, then CastTo-＞desired class (for examp)e, CastTo MyCharacter), and call whatever you want on result character.
That’s it, thanks. I wondered why I couldn’t find anything about a problem so simple, I wish the doc was more detailed, so we would know what each function actually does(right now it only mentions finding actors, and trying to get anything without casting would result in a failed attempt).