Hello, I believe this post is what you need: Casting Entity to Player or Agent Fails - General / Issues and Bug Reporting - Epic Developer Community Forums
In there the solution is a for loop and casting but now maybe with GetComponent[fort_character] on the entity or with a first loop you can reduce boiler plate and check easier the result for players. If you need more context of the code let me know.
Cheers