How to check if Client is Listen Server?

Hi. Is there a way of knowing if a client is a listen server, just as Switch Has Authority checks authority?

For example, A node like Switch Has Authority but with outputs: Listen or Remote?

1 Like

Use IsServer node.

1 Like

Have not tested But marking as Answered as this should work :)! Thank you!

Answered by Distul! See above Post! Thank you :slight_smile:

IsServer is indicating that game is not Client, so IsServer would be true even for Standalone game.

This is what I’m using. If you never have dedicated servers, you could just check if server

253140-checkiflistenserver.png

1 Like

Is locally controller node, then if is run from a pawn that is server will return true if not false.

1 Like

Great answer.
i could not find those nodes in cpp. and IsServer is deprecated but no notice of what to use instead.
i’ve been using IsNetMode(NM_Client) there’s also NM_Standalone and NM_Server