How do I get a player class in verse?

There are 8 different classes on my map. Depending on what class a player is, I want something to happen.
For example:
If (PlayerClass = 2):
Print(“hello”)

How would I be able to code something like this in verse?

1 Like

Unfortunately fortnite’s classes by themselves are not accessible in verse. What you can do is connect a lot of triggers or attribute evaluators and filter each with a different class and then use them to “get” the player’s class. Not an easy thing to do unfortunately. Alternatively whenever a player changes class you can try to store that as a agent map variable to be used later and just call that variable when needed