Hi, i’m studying this project, specially the networking stuff, cause i didn’t do anything networked before , so I am sorry for this question with probably a obvious answer.
I’m a little confused about how do you get the local player controller or the character, because i’m trying to extend some functionality and i dont know how do you do that.
For example on SWeapon you return “MyPawn”
class ASCharacter* ASWeapon::GetPawnOwner() const
{
return MyPawn;
}
So how does SWeapon know about the local ASCharacter? where is MyPawn initialized?
What i’m trying to do?
Well, Im just trying to get the Local Player Controller or the Character in other Actor class
Probably i need to get better informed, so im sorry for the very basic question :), oh and for my English.