HasAuthority() vs Server RPC

Switch has Authority is a Macro. It checks if the Actor executing the node has Network Authority.

Listen Server setup: Server/Host Player
Dedicated Server setup: Server

The following code would only work in a Listen Server setup. One in which the player (Host) inputs M.
On a dedicated server the Authority route would never be taken.

This is fine for a dedicated.


image

1 Like