Hey, it’s not terribly crucial to my code or anything but I’m just curious after playing around with overloading functions. Is there something I’m doing wrong in my example below? I would expect my FindPlayer(Agent) function to fit in just like the first two but the editor is finding it ambiguous with the FindPlayer(fort_character) method. I think I’ll just change the name a little but I’m curious as to if I’m missing something.
2 posts - 2 participants