Difference between revisions of "Overriding Team Management"

From Control_Point
Jump to navigation Jump to search
(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...")
 
 
(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 10: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.

OverrideTeams.JPG

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.