CySelectionGroup
bool isNone ()
bool () - is this CySelectionGroup instance valid?
void pushMission (MissionType eMission, int iData1, int iData2, int iFlags, bool bAppend, bool bManual, MissionAIType eMissionAI, CyPlot pMissionAIPlot, CyUnit pMissionAIUnit)
void (eMission, iData1, iData2, iFlags, bAppend, bManual, eMissionAI, pMissionAIPlot, pMissionAIUnit)
void pushMoveToMission (int plotX, int plotY)
void (plotX, plotY)
void popMission ()
void () - removes mission from queue
CyPlot lastMissionPlot ()
CvPlot* ()
bool canStartMission (int iMission, int iData1, int iData2, CyPlot pPlot, bool bTestVisible)
bool (int iMission, int iData1, int iData2, CyPlot* pPlot, bool bTestVisible)
bool canDoInterfaceMode (InterfaceModeType eInterfaceMode)
bool (int (InterfaceModeTypes) eInterfaceMode)
bool canDoInterfaceModeAt (InterfaceModeType eInterfaceMode, CyPlot pPlot)
bool (int (InterfaceModeTypes) eInterfaceMode, CyPlot* pPlot)
bool canDoCommand (CommandTypes eCommand, int iData1, int iData2, bool bTestVisible)
bool (eCommand, iData1, iData2, bTestVisible = False) - can the group perform eCommand?
bool isHuman ()
bool ()
int baseMoves ()
int ()
bool isWaiting ()
bool ()
bool isFull ()
bool ()
bool hasCargo ()
bool ()
bool canAllMove ()
bool ()
bool canAnyMove ()
bool ()
bool hasMoved ()
bool ()
bool canEnterTerritory (TeamType eTeam, bool bIgnoreRightOfPassage)
bool (int /*TeamTypes*/ eTeam, bool bIgnoreRightOfPassage)
bool canEnterArea (TeamType eTeam, CyArea pArea, bool bIgnoreRightOfPassage)
bool (int /*TeamTypes*/ eTeam, CyArea* pArea, bool bIgnoreRightOfPassage)
bool canMoveInto (CyPlot pPlot, bool bAttack)
bool (CyPlot* pPlot, bool bAttack) - can the group move into pPlot?
bool canMoveOrAttackInto (CyPlot pPlot, bool bDeclareWar)
bool (CyPlot* pPlot, bool bDeclareWar) - can the group move or attack into pPlot?
bool canMoveThrough (CyPlot pPlot)
bool (CyPlot* pPlot)
bool canFight ()
bool ()
bool canDefend ()
bool ()
bool alwaysInvisible ()
bool ()
bool isInvisible (int eTeam) BtS Only
bool (int eTeam)
int countNumUnitAIType (UnitAIType eUnitAI)
int (int (UnitAITypes) eUnitAI
bool hasWorker ()
bool ()
bool at (int iX, int iY)
bool (iX, iY) - is the group at plot iX, iY?
bool atPlot (CyPlot pPlot)
bool (CyPlot* pPlot) - is the group at pPlot?
CyPlot plot ()
CyPlot () - get plot that the group is on
CyArea area ()
CyArea ()*
int getBestBuildRoute (CyPlot pPlot, BuildTypes peBestBuild)
int (RouteTypes) (CyPlot* pPlot, BuildTypes* peBestBuild)
bool isAmphibPlot (CyPlot pPlot)
bool (CyPlot* pPlot)
bool readyToSelect (bool bAny)
bool (bool bAny) - is the group able to be selected?
bool readyToMove (bool bAny)
bool (bool bAny) - is the group awake and ready to move?
bool readyToAuto ()
bool ()
int getID ()
int () - the ID for the SelectionGroup
int getOwner (PlayerType ePlayer)
int (PlayerTypes) () - ID for owner of the group
int getTeam (TeamType eTeam)
int (TeamTypes) () - ID for team owner of the group
ActivityType getActivityType ()
int /*ActivityTypes*/ () - ActivityTypes the group is engaging in
void setActivityType (ActivityType eNewValue)
void (int /*ActivityTypes*/ eNewValue) - set the group to this ActivityTypes
AutomateType getAutomateType ()
int /*AutomateTypes*/ () - AutomateTypes the group is engaging in
bool isAutomated ()
bool () - Is the group automated?
void setAutomateType (AutomateType eNewValue)
void (int /*AutomateTypes*/ eNewValue) - get the group to perform this AutomateTypes
CyPlot getPathFirstPlot ()
CyPlot* ()
CyPlot getPathEndTurnPlot ()
CyPlot* ()
bool generatePath (CyPlot pFromPlot, CyPlot pToPlot, int iFlags, bool bReuse, int piPathTurn)
bool (CyPlot* pFromPlot, CyPlot* pToPlot, int iFlags, bool bReuse, int* piPathTurns)
void resetPath ()
void ()
int getNumUnits ()
int () // JS Help!
void clearMissionQueue ()
void ()
int getLengthMissionQueue ()
int ()
MissionData getMissionFromQueue (int iIndex)
MissionData* (int iIndex)
CyUnit getHeadUnit ()
CyUnit* ()
CyUnit getUnitAt (int index) BtS Only
CyUnit* (int index)
int getMissionType (int iNode)
int (int iNode)
int getMissionData1 (int iNode)
int (int iNode)
int getMissionData2 (int iNode)
int (int iNode)