Quintin Stone
14th Apr 2000, 08:32 PM
It looks like I've found how to create new console commands. In PlayerPawn line 1138, there's a series of exec functions that seem to define console commands. So if I subclass a new player class, I can add my own commands there.
My question: is it possible to subclass PlayerPawn and have all of PlayerPawn's existing subclasses (like TournamentPlayer and its children TournamentMale and TournamentFemale and so on) inherit my changes? Do I have to extend every existing child class of PlayerPawn no matter how deep? Please tell me Epic planned for such an obvious flaw!
My question: is it possible to subclass PlayerPawn and have all of PlayerPawn's existing subclasses (like TournamentPlayer and its children TournamentMale and TournamentFemale and so on) inherit my changes? Do I have to extend every existing child class of PlayerPawn no matter how deep? Please tell me Epic planned for such an obvious flaw!