Difference between revisions of "Overriding Team Management"
Jump to navigation
Jump to search
Ecnassianer (talk | contribs) (Created page with "If you already have teams being assigned on your own, you can easily inherit from the capture point and override the Control Point Teams section, and provide that data however...") |
Ecnassianer (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
If you already have teams being assigned on your own, you can easily inherit from the capture point and override the Control Point Teams section, and provide that data however you want. | If you already have teams being assigned on your own, you can easily inherit from the capture point and override the Control Point Teams section, and provide that data however you want. | ||
+ | |||
+ | [[File:OverrideTeams.JPG|970px]] | ||
+ | |||
+ | This function isn't actually used by the Control Point, so you can change the signature however you want, just implement the method so it takes whatever format of teams you pass in and inserts that into the teams array appropriately. |
Latest revision as of 09:41, 14 June 2020
If you already have teams being assigned on your own, you can easily inherit from the capture point and override the Control Point Teams section, and provide that data however you want.
This function isn't actually used by the Control Point, so you can change the signature however you want, just implement the method so it takes whatever format of teams you pass in and inserts that into the teams array appropriately.