Hi!
Will the Tick method only be called when Role equals ROLE_Authority?
Hi!
Will the Tick method only be called when Role equals ROLE_Authority?
No the Role is the Authority of the current Actor you are in.
While ROLE_Authority is the Authority level of the server.
// If Role is less then ROLE_Authority
If (Role < ROLE_Authority)
{
// We are not the server / we do not owne this actor.
// And we whould call a function to get executed on the server .
}
Okay, thank you!