Announcement

Collapse
No announcement yet.

GetOwnerRole() not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    GetOwnerRole() not working

    My GetOwnerRole() is not working. Help me please...
    {

    if (GetOwnerRole() < ROLE_Authority) {
    }
    else {
    Thirst -= Value;
    }

    Error C3861 'GetOwnerRole': identifier not found

    #2
    Are you calling it on the ActorComponent?

    Comment


      #3
      As Garner alluded to above, GetOwnerRole() is for ActorComponents.

      If calling from an actor, use GetLocalRole().

      Comment

      Working...
      X