Is there anyway to restrict a function on a UActorComponent to the server/authority only? Not a big question, just trying to restrict things.
You can check for Role = ROLE_Authority of UActorComponent on top of function when you run so even when u call in client it will never run any code below.
The variable you are referencing, “Role” is only available on an Actor, not on the Actor component. However, I just thought that I could create the Role variable on my component and have the actor pass it. Thank you sir none the less.